Update appveyor.yml

This commit is contained in:
Leonardo Zide
2026-03-13 22:53:55 -07:00
parent bae8bb58d5
commit 7ef32daf34
+1 -1
View File
@@ -128,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=$(awk -F"'"''"'"'' /"sha"[[:space:]]*:/ { print $(NF-1); exit }'' repo.txt)'
- "export REMOTE=$(awk -F'\"' '/\"sha\"[[:space:]]*:/ { print $(NF-1); exit }' file.json)"
- 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;