Skip to content

Commit

Permalink
fix: ensure twine is present and run deployment commands through pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Oct 11, 2020
1 parent cfb829b commit fde05ed
Show file tree
Hide file tree
Showing 3 changed files with 162 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m pep517.build .
twine upload dist/*
pipenv run python -m pep517.build .
pipenv run twine upload dist/*
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ black = "*"
pytest = "*"
pylint = "*"
pep517 = "*"
twine = "*"

[pipenv]
allow_prereleases = true
189 changes: 159 additions & 30 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fde05ed

Please sign in to comment.