mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Update appveyor.yml
This commit is contained in:
parent
d77ca7357f
commit
149ae9430d
1 changed files with 0 additions and 3 deletions
|
@ -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*
|
||||
|
|
Loading…
Reference in a new issue