개정판 5183a15f
issue #624: 설치 파일 이름에 빌드 버전 포함시킴
Change-Id: I1a599ec0dd79e4e682b1e176610362853193f1b8
build.bat | ||
---|---|---|
10 | 10 |
pyinstaller App.spec --onedir -p "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\site-packages\PyQt5" -w --log-level=DEBUG --hidden-import=tkinter,pyqtgraph -y |
11 | 11 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
12 | 12 |
|
13 |
Del Setup\*.wixpdb |
|
14 |
Del Setup\*.wixobj |
|
15 |
Del Setup\*.msi |
|
16 |
|
|
17 |
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 "c:\Temp\workspace\ID2\Setup\*.exe" |
|
18 |
|
|
19 |
%CANDLE% ".\ID2.wxs" -out .\Setup\ |
|
20 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
|
21 |
%LIGHT% -out ".\Setup\ID2-%1.msi" ".\Setup\ID2.wixobj" -ext WixUIExtension -ext WixUtilExtension |
|
22 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
|
23 |
|
|
24 |
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 "c:\Temp\workspace\ID2\Setup\*.msi" |
|
25 |
|
|
26 |
REM deploy artifacts |
|
27 |
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/ID2/Setup/ID2-%1.msi" -T ".\Setup\ID2-%1.msi" |
|
28 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
|
29 |
|
|
30 | 13 |
:EOF |
31 | 14 |
ECHO process completed |
32 | 15 |
REM exit |
내보내기 Unified diff