Ignore:
Timestamp:
02/06/12 15:10:43 (2 years ago)
Author:
ales_erjavec
Branch:
default
rebase_source:
a347f41f6f7f67e4240ab73ba701b3d4001d26a7
Message:

Using hg repo in the windows packaging scripts for snapshots.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • install-scripts/createSnapshot.btm

    r8976 r9730  
    44 
    55call updateSetVariables__.btm snapshot 
    6 set WIN_SNAPSHOT=orange-win-snapshot-%daystr 
    7 set WIN_PYTHON_SNAPSHOT=orange-win-w-python-snapshot-%daystr 
     6set WIN_SNAPSHOT=orange-win-snapshot-hg-%daystr 
     7set WIN_PYTHON_SNAPSHOT=orange-win-w-python-snapshot-hg-%daystr 
    88set ADDON_BIOINFORMATICS_SNAPSHOT=orangeAddOn-bioinformatics-snapshot-%daystr 
    99set ADDON_TEXT_SNAPSHOT=orangeAddOn-text-snapshot-%daystr 
     
    1212rem # update source(s) to revision HEAD 
    1313cdd %TMPDIR 
    14 svn cleanup 
    15 svn update --ignore-externals 
     14 
     15hg pull --update 
    1616 
    1717rem # build core 
     
    2727rem # if no errors then publish on web (everything at the same time) 
    2828rem # remove any old files 
    29 except (%DOWNLOADDIR\orange*-snapshot-%daystr-*.exe) del %DOWNLOADDIR\orange*-snapshot-????-??-??-*.exe 
     29REM except (%DOWNLOADDIR\orange*-snapshot-%daystr-*.exe) del %DOWNLOADDIR\orange*-snapshot-????-??-??-*.exe 
    3030 
    3131rem # pack sources 
    3232cdd %TMPDIR 
    3333del /syeqtx sourcestopack 
    34 mkdir sourcestopack 
     34 
     35hg archive sourcestopack 
     36 
    3537cd sourcestopack 
    36 svn export --native-eol LF -q http://orange.biolab.si/svn/orange/trunk/orange 
    37 cd orange 
    38 del *.pyd *.dll *.bat 
    39 svn export --native-eol LF -q http://orange.biolab.si/svn/orange/trunk/source  
    40 copy doc\LICENSES . 
    41 copy doc\COPYING . 
    42 copy doc\LICENSES source 
    43 copy doc\COPYING source 
     38 
    4439rem # build source distribution 
    45 e:\Python26\python.exe setup.py sdist  
    46 del %DOWNLOADDIR\orange-source-snapshot-????-??-??.zip 
     40e:\Python27\python.exe setup.py sdist 
     41rem # build msi file 
     42e:\Python27\python.exe setup.py bdist_msi 
     43rem del %DOWNLOADDIR\orange-source-snapshot-????-??-??.zip 
    4744move /z dist\Orange-?.*.zip %DOWNLOADDIR\%SOURCE_SNAPSHOT 
     45move /z dist\Orange-?.*.msi %DOWNLOADDIR\%WIN_SNAPSHOT.msi 
    4846 
    4947rem # publish 
     
    5553rem # remember new filenames 
    5654cdd %SCRIPTDIR 
    57 call updateVersionsPy__.btm 
     55rem # Don't update the visible versions for now 
     56rem call updateVersionsPy__.btm 
Note: See TracChangeset for help on using the changeset viewer.