Debian Codegraph @

scripts/release.bat

raw
1 @echo off
2
3 call %~dp0utils GetScriptPath SCRIPTPATH
4 call %FUNC% GetLibName LIBNAME
5 call %FUNC% GetModName MODNAME
6 call %FUNC% SetPythonPath
7 call %FUNC% UsePython
8 call %FUNC% GetVersion VERSION
9
10 echo ===========================================================================
11 echo Making DataLab v%VERSION% release with %PYTHON%
12 echo ===========================================================================
13
14 set destdir=releases\DataLab-v%VERSION%-release
15 if exist %destdir% ( rmdir /s /q %destdir% )
16 mkdir %destdir%
17 move "dist\*.whl" %destdir%
18 move "dist\*.gz" %destdir%
19 move "dist\*.zip" %destdir%
20 move "wix\DataLab-%VERSION%.msi" %destdir%
21 move %MODNAME%\data\doc\*.pdf %destdir%
22 explorer %destdir% || exit /b 0
23
24 call %FUNC% EndOfScript