Skip to content

Commit

Permalink
Merge pull request #26 from man-group/upload-to-pypi
Browse files Browse the repository at this point in the history
Upload notebooker packages to PyPI (Closes: #23)
  • Loading branch information
jonbannister authored Dec 4, 2020
2 parents afb3667 + febad35 commit 119b48e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,17 @@ defaults: &defaults
# name: Build Docker image
# command: docker build -t $IMAGE_NAME:latest .
# Save test results
- run:
name: Upload to PyPI
command: |
set -e
if [ "$CIRCLE_BRANCH" = "master" ]; then
. ci/bin/activate
pip install twine
export TWINE_USERNAME='__token__'
export TWINE_PASSWORD=$PYPI_TOKEN
twine upload --skip-existing dist/*
fi
- store_test_results:
path: test-results
# Save artifacts
Expand Down

0 comments on commit 119b48e

Please sign in to comment.