Update appveyor.yml

This commit is contained in:
Leonardo Zide 2023-12-28 11:48:38 -08:00
parent d77ca7357f
commit 149ae9430d

View file

@ -45,7 +45,6 @@ for:
- set TRAVIS_TAG=%APPVEYOR_REPO_TAG_NAME%
- set TRAVIS_REPO_SLUG=%APPVEYOR_REPO_NAME%
- set TRAVIS_COMMIT=%APPVEYOR_REPO_COMMIT%
- set UPLOADTOOL_ISPRERELEASE=1
- appveyor DownloadFile https://github.com/probonopd/uploadtool/raw/master/upload.sh
- if not defined APPVEYOR_PULL_REQUEST_NUMBER (bash upload.sh LeoCAD*.exe)
@ -93,7 +92,6 @@ for:
- 'curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/leozide/leocad/commits/master -o repo.txt'
- 'export REMOTE=$(grep -Po ''(?<=: \")(([a-z0-9])\w+)(?=\")'' -m 1 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;
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh LeoCAD*.AppImage*
@ -127,7 +125,6 @@ for:
- '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 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;
- appveyor DownloadFile https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh LeoCAD*.dmg*