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