mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Update appveyor.yml
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user