File: release.bat

package info (click to toggle)
datalab 0.18.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 41,724 kB
  • sloc: python: 27,814; makefile: 7
file content (25 lines) | stat: -rw-r--r-- 770 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@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 %LIBNAME% v%VERSION% release with %WINPYDIRBASE%
echo ===========================================================================

set destdir=releases\%LIBNAME%-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\%LIBNAME%-%VERSION%.msi" %destdir%
copy "CHANGELOG.md" %destdir%
copy %MODNAME%\data\doc\*.pdf %destdir%
explorer %destdir%

call %FUNC% EndOfScript