Skip to content

Commit 2fcc648

Browse files
authored
Distribute source tarball and wheel to PyPI (#508)
* Distribute source and weel * trigger * fix
1 parent f2bf5fb commit 2fcc648

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/deploy-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
- name: Deploy
2929
run: |
3030
rm -rf dist/*
31-
python setup.py bdist bdist_wheel
31+
python setup.py sdist bdist_wheel
3232
twine upload -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_pypi_password}} dist/*

.github/workflows/deploy-test-pypi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ jobs:
2929
pip install twine wheel
3030
- name: Deploy
3131
run: |
32-
[ ! -z "$GITHUB_HEAD_REF" ] && exit
3332
rm -rf dist/*
3433
git tag $(date +'v%Y.%m.%d.%H.%M.%S')
35-
python setup.py bdist bdist_wheel
34+
python setup.py sdist bdist_wheel
3635
twine upload --repository-url https://test.pypi.org/legacy/ -u zasdfgbnm-bot -p ${{secrets.zasdfgbnm_bot_test_pypi_password}} dist/*

0 commit comments

Comments
 (0)