Update appveyor.yml

This commit is contained in:
Leonardo Zide
2026-03-13 22:50:07 -07:00
parent 0bfa8d33de
commit bae8bb58d5
+2 -4
View File
@@ -44,9 +44,7 @@ for:
- windeployqt appdir\leocad.exe
- copy tools\setup\leocad.nsi .
- copy tools\setup\setup.ico .
- 'dir "%VCINSTALLDIR%Redist"'
- 'dir "%VCINSTALLDIR%Redist\MSVC\v143\"'
- 'copy "%VCINSTALLDIR%Redist\MSVC\v143\vcredist_x64.exe" appdir'
- 'copy "%VCINSTALLDIR%Redist\MSVC\v143\vcredist.x64.exe" appdir\vcredist_x64.exe'
- '"C:\Program Files (x86)\NSIS\makensis.exe" /V4 /DX64 "/XOutFile LeoCAD-Windows-%VERSION%.exe" leocad.nsi'
- set TRAVIS_TAG=%APPVEYOR_REPO_TAG_NAME%
- set TRAVIS_REPO_SLUG=%APPVEYOR_REPO_NAME%
@@ -130,7 +128,7 @@ for:
- macdeployqt LeoCAD.app -dmg
- mv LeoCAD.dmg LeoCAD-macOS-$(git rev-parse --short HEAD).dmg
- 'curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt'
- 'export REMOTE=$(jq -r ''.sha'' repo.txt)'
- 'export REMOTE=$(awk -F"'"''"'"'' /"sha"[[:space:]]*:/ { print $(NF-1); exit }'' repo.txt)'
- export LOCAL=$(git rev-parse HEAD)
- export UPLOADTOOL_ISPRERELEASE=1
- if [[ "$REMOTE" != "$LOCAL" ]]; then echo "Build no longer current. $REMOTE vs $LOCAL - aborting upload."; exit 0; fi;