From da0bda6be3c7f688cfbf2fb014aefe466145767e Mon Sep 17 00:00:00 2001 From: Mike Holler <mike.holler@physiq.com> Date: Mon, 27 Nov 2017 16:05:45 -0600 Subject: [PATCH] Fixed prod PyPI URL and deploy block list. --- .travis.yml | 27 +++++++++++++-------------- .travis/deploy-python.sh | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index ffa20811..c0bea40b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,21 +14,20 @@ matrix: - "cd ../" deploy: # Checkpointed release builds. - provider: script - script: .travis/deploy-python.sh - skip_cleanup: true - on: - tags: true - # all_branches must be set with tags: true. See below post: - # https://stackoverflow.com/a/27775257/1076585 - all_branches: true - deploy: + - provider: script + script: .travis/deploy-python.sh + skip_cleanup: true + on: + tags: true + # all_branches must be set with tags: true. See below post: + # https://stackoverflow.com/a/27775257/1076585 + all_branches: true # Produce a new build for the cutting edge when master changes. - provider: script - script: .travis/deploy-python.sh - skip_cleanup: true - on: - branch: master + - provider: script + script: .travis/deploy-python.sh + skip_cleanup: true + on: + branch: master - language: cpp os: - linux diff --git a/.travis/deploy-python.sh b/.travis/deploy-python.sh index d1b947aa..1f6f3e03 100755 --- a/.travis/deploy-python.sh +++ b/.travis/deploy-python.sh @@ -1,7 +1,7 @@ #!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -PROD_REPOSITORY="https://upload.pypi.org/legacy" +PROD_REPOSITORY="https://upload.pypi.org/legacy/" TEST_REPOSITORY="https://test.pypi.org/legacy/" twine upload \ -- GitLab