Skip to content

Commit

Permalink
chore: use twine for publish (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Jul 30, 2020
1 parent 75c9ce0 commit b2b0ca3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
1 change: 0 additions & 1 deletion .circleci/.pypirc.enc

This file was deleted.

25 changes: 13 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,16 @@ jobs:
steps:
- checkout
- run:
name: Decrypt the PyPI key.
name: Install twine
command: |
openssl aes-256-ctr -pbkdf2 -d \
-in .circleci/.pypirc.enc \
-out ~/.pypirc \
-k "${PYPIRC_ENCRYPTION_KEY}"
pip install twine
- run:
name: Build the package.
command: python setup.py sdist
- run:
name: Publish to PyPI.
command: python setup.py sdist upload
command: twine upload dist/*

style-check:
docker:
- image: python:3.8-slim
Expand Down Expand Up @@ -259,12 +260,12 @@ jobs:
steps:
- checkout
- run:
name: Decrypt the PyPI key.
name: Install twine
command: |
openssl aes-256-ctr -pbkdf2 -d \
-in .circleci/.pypirc.enc \
-out ~/.pypirc \
-k "${PYPIRC_ENCRYPTION_KEY}"
pip install twine
- run:
name: Build the package.
command: python setup.py sdist
- run:
name: Publish to PyPI.
command: python setup.py sdist upload
command: twine upload dist/*

0 comments on commit b2b0ca3

Please sign in to comment.