File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,8 @@ call AzurePublishClickOnce %ROOT%MoneyPackage\AppPackages downloads/MyMoney.Net
4747echo ============ Done publishing ClickOnce installer ==============
4848:dowinget
4949if " %WINGET% " == " 0" goto :skipwinget
50-
5150if not exist %WINGET_SRC% goto :nowinget
5251
53- :winget
5452echo Syncing winget master branch
5553pushd %WINGET_SRC% \manifests\l\LovettSoftware\MyMoney\Net
5654git checkout master
@@ -63,14 +61,15 @@ git merge upstream/master
6361if ERRORLEVEL 1 goto :eof
6462git push
6563
66- set LATEST =
64+ set OLDEST =
6765for /f " usebackq" %%i in (`dir /b`) do (
68- set LATEST = %%i
66+ if " !OLDEST! " == " " set OLDEST = %%i
6967)
7068
71- if " %LATEST% " == " " goto :prepare
72- echo Replacing " %LATEST% " version...
73- git mv " %LATEST% " %VERSION%
69+ if " !OLDEST! " == " " goto :prepare
70+ echo ======================== Replacing " !OLDEST! " version...
71+
72+ git mv " !OLDEST! " %VERSION%
7473
7574:prepare
7675popd
You can’t perform that action at this time.
0 commit comments