프로젝트

일반

사용자정보

개정판 274cde11

ID274cde11c87096a631514c2e6c3f8f5ce97c24e7
상위 c0ec90f3
하위 174cdd68

김태성이(가) 4년 이상 전에 추가함

after build event에서 version을 가져오도록 수정

Change-Id: I7a5cc54cabf6e2080c89d22b7631683eaecfebe4

차이점 보기:

appCast_All_Build.bat
1
appcast_sni.bat %1
1
@echo off
2

  
3
set hostbaseUrl=http://172.20.120.141:5977/MarkusUpdate/
4
set updateVersion=%1
5

  
6
IF [%hostbaseUrl%]==[] goto :ERROR
7
if [%updateVersion%]==[] goto :ERROR
8

  
9
echo "Update Version %updateVersion%"
10

  
11
set APPCAST_PUBLISH_PATH=%cd%\publish\AppCast_Daelim\
12
SET MARKUS_PUBLISH_PATH=%cd%\Setup\Release_Default
13

  
14
echo "current  : %current_dir%"
15
echo "APPCAST PATH : %APPCAST_PUBLISH_PATH%"
16
echo "AppCast Path : %current_dir:"=%\%APPCAST_PUBLISH_PATH:"=%"
17
echo "Publish Markus : %current_dir:"=%\%MARKUS_PUBLISH_PATH:"=%"
18

  
19
IF NOT EXIST %LocalAppData%\netsparkle\NetSparkle_Ed25519.pub (
20
echo "generate-keys pass"
21
del %LocalAppData%\netsparkle\*.* /q
22
	.\AppCast\generate_appcast.exe --key-path %APPCAST_PUBLISH_PATH%Keys
23
	.\AppCast\generate_appcast.exe --generate-keys
24
)
25

  
26
IF NOT EXIST %APPCAST_PUBLISH_PATH%\. MKDIR %APPCAST_PUBLISH_PATH%
27

  
28
SET SIGNTOOLPATH="C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe"
29
set SolutionPath=%cd%
30
SET SIGNPATH=%SolutionPath%\Sign\www.doftech.co.kr.pfx
31

  
32
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 %MARKUS_PUBLISH_PATH%\*.exe
33
%SIGNTOOLPATH% sign /v /f %SIGNPATH% /p Doftech1073# /tr http://timestamp.digicert.com /td sha256 /fd sha256 %MARKUS_PUBLISH_PATH%\Plugin\*.exe
34

  
35
 copy %cd%\INI\Web.config %APPCAST_PUBLISH_PATH%\web.config /Y
36
   
37

  
38
.\AppCast\generate_appcast.exe -u %hostbaseUrl% -p %cd%\ChangeLog -a %APPCAST_PUBLISH_PATH% -e * -b %MARKUS_PUBLISH_PATH% -o windows -n Markus -x -v %updateVersion%
39

  
40
start %APPCAST_PUBLISH_PATH%
41

  
42
:ERROR
43
echo arg1 arg2 exits
44
echo ex : appCast.bat http://hostname:port x.x.x

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)