Skip to content

Commit

Permalink
Distribute source tarball and wheel to PyPI (#508)
Browse files Browse the repository at this point in the history
* Distribute source and weel

* trigger

* fix
  • Loading branch information
zasdfgbnm authored Aug 4, 2020
1 parent f2bf5fb commit 2fcc648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
- name: Deploy
run: |
rm -rf dist/*
python setup.py bdist bdist_wheel
python setup.py sdist bdist_wheel
twine upload -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_pypi_password}} dist/*
3 changes: 1 addition & 2 deletions .github/workflows/deploy-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
pip install twine wheel
- name: Deploy
run: |
[ ! -z "$GITHUB_HEAD_REF" ] && exit
rm -rf dist/*
git tag $(date +'v%Y.%m.%d.%H.%M.%S')
python setup.py bdist bdist_wheel
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_test_pypi_password}} dist/*

0 comments on commit 2fcc648

Please sign in to comment.