markus / AppCastPublish.bat @ 7e810f54
이력 | 보기 | 이력해설 | 다운로드 (2.73 KB)
1 | f2c3d74c | taeseongkim | @echo off |
---|---|---|---|
2 | set WORKSPACE=C:\Temp\workspace\MARKUS |
||
3 | SET EXE=%WORKSPACE%\Setup\Release_Default\KCOM.EXE |
||
4 | Set "VERSION=" |
||
5 | |||
6 | For /F %%A In ( 'powershell "(Get-Item -path %EXE%).VersionInfo.ProductVersion.ToString()"') Do Set "VERSION=%%A" |
||
7 | If Not Defined VERSION Exit /B |
||
8 | Echo %VERSION% |
||
9 | |||
10 | rem SET VERSION=powershell "(Get-Item -path %EXE%).VersionInfo.ProductVersion.ToString()" |
||
11 | |||
12 | echo "VERSION %VERSION%" |
||
13 | |||
14 | powershell "Compress-Archive %WORKSPACE%\MarkusAutoUpdate\Publish\Release_Daelim\* -Force %WORKSPACE%\Publish\AppCast_Daelim\MarkusUpdate.zip" |
||
15 | |||
16 | echo "Compress Daelim MarkusUpdate" |
||
17 | |||
18 | powershell "Compress-Archive %WORKSPACE%\MarkusAutoUpdate\Publish\Release_HS\* -Force %WORKSPACE%\Publish\AppCast_HS\MarkusUpdate.zip" |
||
19 | |||
20 | echo "Compress HS MarkusUpdate" |
||
21 | |||
22 | powershell "Compress-Archive %WORKSPACE%\MarkusAutoUpdate\Publish\Release_SNI\* -Force %WORKSPACE%\Publish\AppCast_SNI\MarkusUpdate.zip" |
||
23 | |||
24 | echo "Compress SNI MarkusUpdate" |
||
25 | |||
26 | xcopy %WORKSPACE%\MarkusAutoUpdate\Setup\Release_daelim\*.* %WORKSPACE%\Publish\AppCast_Daelim\ /I /Y /F /S |
||
27 | |||
28 | echo "Copy Daelim MarkusUpdate Setup" |
||
29 | |||
30 | |||
31 | xcopy %WORKSPACE%\MarkusAutoUpdate\Setup\Release_HS\*.* %WORKSPACE%\Publish\AppCast_HS\ /I /Y /F /S |
||
32 | |||
33 | echo "Copy HS MarkusUpdate Setup" |
||
34 | |||
35 | xcopy %WORKSPACE%\MarkusAutoUpdate\Setup\Release_SNI\*.* %WORKSPACE%\Publish\AppCast_SNI\ /I /Y /F /S |
||
36 | |||
37 | echo "Copy SNI MarkusUpdate Setup" |
||
38 | |||
39 | powershell "Compress-Archive %WORKSPACE%\Publish\AppCast_Daelim\* -Force %WORKSPACE%\Publish\AppCast_Daelim_%VERSION%.zip" |
||
40 | |||
41 | echo "Compress Daelim Appcast %WORKSPACE%\Publish\AppCast_Daelim_%VERSION%.zip" |
||
42 | |||
43 | powershell "Compress-Archive %WORKSPACE%\Publish\AppCast_HS\* -Force %WORKSPACE%\Publish\AppCast_HS_%VERSION%.zip" |
||
44 | |||
45 | echo "Compress HS Appcast %WORKSPACE%\Publish\AppCast_HS_%VERSION%.zip" |
||
46 | |||
47 | powershell "Compress-Archive %WORKSPACE%\Publish\AppCast_SNI\* -Force %WORKSPACE%\Publish\AppCast_SNI_%VERSION%.zip" |
||
48 | |||
49 | echo "Compress SNI Appcast %WORKSPACE%\Publish\AppCast_SNI_%VERSION%.zip" |
||
50 | |||
51 | %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/AppCast_Daelim_%VERSION%.zip" -T "%WORKSPACE%\Publish\AppCast_Daelim_%VERSION%.zip" |
||
52 | |||
53 | %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/AppCast_HS_%VERSION%.zip" -T "%WORKSPACE%\Publish\AppCast_HS_%VERSION%.zip" |
||
54 | |||
55 | %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/AppCast_SNI_%VERSION%.zip" -T "%WORKSPACE%\Publish\AppCast_SNI_%VERSION%.zip" |
||
56 | |||
57 | %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/FinalService/FinalService-%VERSION%.msi" -T ".\Setup\FinalService\FinalService-%VERSION%.msi" |
||
58 | %CURL% -uadmin:dof1073# -X PUT "http://www.devdoftech.co.kr:9081/artifactory/MARKUS/Setup/ConvertService/ConvertService-%VERSION%.msi" -T ".\Setup\ConvertService\ConvertService-%VERSION%.msi" |