package update

This commit is contained in:
leedongmyung 2023-11-12 15:23:17 +09:00
parent 10fba65079
commit 8f86eec25f

View file

@ -1,7 +1,12 @@
:: 현재 빌드 프로젝트에 대해 이전 리비전에 대해 바뀐점이 있다면 패키지 업데이트 진행
: PATH_WIN은 젠킨스에서 설정을 해주어야 한다
PATH=%PATH_WIN%
@echo off
set "PathUser="
for /F "skip=2 tokens=1,2*" %%G in ('%SystemRoot%\System32\reg.exe query "HKCU\Environment" /v "Path" 2^>nul') do if /I "%%G" == "Path" (
if /I "%%H" == "REG_EXPAND_SZ" (set "PathExpand=1" & set "PathUser=%%I") else if /I "%%H" == "REG_SZ" set "PathUser=%%I"
)
PATH=%PathUser%
: cd ../dart_framework && git pull origin master
: cd "../%JOB_NAME%"