개정판 c34f16d7
issue #000: 설치 파일 이름에 빌드 버전 포함시킴
Change-Id: Id4f6d6cde014045acef82d92b52120889a8f32c0
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\HYTOS\Setup\*.exe" |
|
18 |
|
|
19 |
%CANDLE% ".\HYTOS.wxs" -out .\Setup\ |
|
20 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
|
21 |
%LIGHT% -out ".\Setup\HYTOS-%1.msi" ".\Setup\HYTOS.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\HYTOS\Setup\*.msi" |
|
25 |
|
|
26 |
REM deploy artifacts |
|
27 |
..\curl.exe -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/HYTOS/Setup/HYTOS-%1.msi" -T ".\Setup\HYTOS-%1.msi" |
|
28 |
IF %ERRORLEVEL% NEQ 0 goto :ERROR |
|
29 |
|
|
30 | 13 |
:EOF |
31 | 14 |
ECHO process completed |
32 |
REM exit
|
|
15 |
exit |
|
33 | 16 |
|
34 | 17 |
:ERROR |
35 |
REM exit 1 |
|
18 |
exit 1 |
내보내기 Unified diff