source: orange/install-scripts/createSnapshot.btm @ 9909:f2516dcc869b

Revision 9909:f2516dcc869b, 1.6 KB checked in by ales_erjavec, 2 years ago (diff)

Fixes to win packaging.

Line 
1rem # input arguments
2rem # %1 - folder with 3rd party software
3rem # - SVN is updated to head
4
5call updateSetVariables__.btm snapshot
6set WIN_SNAPSHOT=orange-win-snapshot-hg-%daystr
7set WIN_PYTHON_SNAPSHOT=orange-win-w-python-snapshot-hg-%daystr
8set ADDON_BIOINFORMATICS_SNAPSHOT=orangeAddOn-bioinformatics-snapshot-%daystr
9set ADDON_TEXT_SNAPSHOT=orangeAddOn-text-snapshot-%daystr
10set SOURCE_SNAPSHOT=orange-source-snapshot-%daystr.zip
11
12rem # update source(s) to revision HEAD
13cdd %TMPDIR
14
15rem # build core
16cdd %SCRIPTDIR
17call createCommon__.btm snapshot %1 %WIN_SNAPSHOT %WIN_PYTHON_SNAPSHOT
18break_on_error
19
20rem # build add ons
21cdd %SCRIPTDIR
22call createCommonAddOns__.btm snapshot %ADDON_BIOINFORMATICS_SNAPSHOT %ADDON_TEXT_SNAPSHOT
23break_on_error
24
25rem # if no errors then publish on web (everything at the same time)
26rem # remove any old files
27REM except (%DOWNLOADDIR\orange*-snapshot-%daystr-*.exe) del %DOWNLOADDIR\orange*-snapshot-????-??-??-*.exe
28
29rem # pack sources
30cdd %TMPDIR
31del /syeqtx sourcestopack
32
33hg archive sourcestopack
34
35cd sourcestopack
36
37rem # build source distribution
38e:\Python27\python.exe setup.py sdist
39rem # build msi file
40e:\Python27\python.exe setup.py bdist_msi
41rem del %DOWNLOADDIR\orange-source-snapshot-????-??-??.zip
42move /z dist\Orange-?.*.zip %DOWNLOADDIR\%SOURCE_SNAPSHOT
43move /z dist\Orange-?.*.msi %DOWNLOADDIR\%WIN_SNAPSHOT.msi
44
45rem # publish
46cdd %TMPDIR
47move /z *.exe %DOWNLOADDIR
48if not direxist %DOWNLOADDIR\binaries mkdir %DOWNLOADDIR\binaries
49move /sdz binaries %DOWNLOADDIR\binaries
50
51rem # remember new filenames
52cdd %SCRIPTDIR
53rem # Don't update the visible versions for now
54rem call updateVersionsPy__.btm
Note: See TracBrowser for help on using the repository browser.