Skip to content

Commit

Permalink
ci: run twine check
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Mar 27, 2022
1 parent c3fed24 commit 316a5de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ jobs:
python3 --version
python3 -m pip --version
python3 -m pip install --upgrade pip setuptools
- name: Install pre-commit bumpversion
- name: Install pre-commit bumpversion twine
run: |
python3 -m pip install --upgrade poetry pre-commit bumpversion
python3 -m pip install --upgrade poetry pre-commit bumpversion twine
pre-commit --version
twine --version
python3 -m pip freeze
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
Expand Down
3 changes: 3 additions & 0 deletions ci-prepare-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ set -e
rm -rf dist/
poetry build

# https://twine.readthedocs.io/en/latest/#twine-check
twine check dist/*

# The slash at the end is important
# https://github.com/python-poetry/poetry/issues/742#issuecomment-609642943
poetry config repositories.testpypi https://test.pypi.org/legacy/
Expand Down

0 comments on commit 316a5de

Please sign in to comment.