Update appveyor.yml

This commit is contained in:
Leonardo Zide
2026-03-13 21:14:52 -07:00
parent 60a029bae3
commit 3b05ca13c1
+2 -5
View File
@@ -109,11 +109,8 @@ for:
only:
- image: macos
install:
- brew install grep
before_build:
- export PATH=$HOME/Qt/5.15/clang_64/bin:$PATH
- export PATH=$HOME/Qt/6.6/macos64/bin:$PATH
- export TRAVIS_TAG=$APPVEYOR_REPO_TAG_NAME
- export TRAVIS_REPO_SLUG=$APPVEYOR_REPO_NAME
- export TRAVIS_COMMIT=$APPVEYOR_REPO_COMMIT
@@ -131,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=$(ggrep -Po ''(?<=: \")(([a-z0-9])\w+)(?=\")'' -m 1 repo.txt)'
- 'export REMOTE=$(awk -F"\"" "/\"sha\"[[:space:]]*:/ { print $(NF-1); exit }" Documents/master.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;