Skip to content

Commit

Permalink
Fix the pypylon 1.3.0 release process
Browse files Browse the repository at this point in the history
- Remove appveyor branch check as it doesn't work with annotated tags
- Add travis_retry to stabilize the pylon download
  • Loading branch information
Stefan Klug committed Aug 9, 2018
1 parent e9441e8 commit 9bde2ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ deploy:

deploy_script:
- echo "Starting Artifact Deployment"
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:APPVEYOR_REPO_BRANCH -eq "master") { Invoke-Expression "$env:PYTHON\\Scripts\\twine upload --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag on master, won't deploy to pypi"}
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true") { Invoke-Expression "$env:PYTHON\\Scripts\\twine upload --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
- echo "Finished Artifact Deployment"
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ install:
- mkdir pylon_installer && cd pylon_installer
- |
for PYLON_ARCH in armhf arm64 x86 x86_64 ; do
curl -O "${PYLON_DOWNLOAD_URL_BASE}pylon-5.0.12.11829-${PYLON_ARCH}.tar.gz"
travis_retry curl -sSfL -O "${PYLON_DOWNLOAD_URL_BASE}pylon-5.0.12.11829-${PYLON_ARCH}.tar.gz"
done
- echo "Pylon Installer:" && ls

Expand Down

0 comments on commit 9bde2ad

Please sign in to comment.