Skip to content

Commit

Permalink
Merge pull request #199 from pahaz/ci-deploy
Browse files Browse the repository at this point in the history
Deploy egg wheel and tar.gz
  • Loading branch information
pahaz authored Oct 24, 2020
2 parents 8d957f2 + 301b00f commit b7905f9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ jobs:
- run:
name: Build artifact
command: |
formats=( 'bdist_egg' )
[[ << parameters.version >> == 'latest' ]] && formats+=( 'bdist_wheel' 'sdist' )
pipenv run python setup.py ${formats[@]}
pipenv run python setup.py bdist_egg bdist_wheel sdist
- run:
name: Check artifacts
command: pipenv run twine check dist/*
Expand All @@ -143,9 +141,7 @@ jobs:
- run:
name: Build artifact
command: |
formats=( 'bdist_egg' )
(( << parameters.version >> == 'latest' )) && formats+=( 'bdist_wheel' )
pipenv run python setup.py ${formats[@]}
pipenv run python setup.py bdist_egg bdist_wheel sdist
- run:
name: Upload to PyPI
command: >-
Expand Down

0 comments on commit b7905f9

Please sign in to comment.