Skip to content

Commit

Permalink
deploy.sh fix build on tag 2
Browse files Browse the repository at this point in the history
  • Loading branch information
glicht committed Sep 5, 2019
1 parent e3d1946 commit 634b0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [[ "${CIRCLE_BRANCH}" == "master" ]]; then
TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/ TWINE_PASSWORD="${PYPI_TEST_TOKEN}" deploy_to_pypi
elif [[ $(echo "${CIRCLE_TAG}" | grep -E "^v[0-9]+\.[0-9]+\.[0-9]+$") ]]; then
echo "Deploying to Pypi production site"
TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/ TWINE_PASSWORD="${PYPI_TOKEN}" deploy_to_pypi
TWINE_PASSWORD="${PYPI_TOKEN}" deploy_to_pypi
else
echo "Skipping Pypi deploy as we are not building a tag or on master"
fi

0 comments on commit 634b0b0

Please sign in to comment.