Skip to content

Commit

Permalink
chore: fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
user2589 committed May 30, 2023
1 parent b3c8b6d commit 39cd8dd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,18 @@ jobs:
# they will brake package upload later on if not removed
run: sudo find dist/ -type f ! -iname '*-manylinux*.whl' -delete

- name: Configure git
# https://github.com/python-semantic-release/python-semantic-release/issues/560
# Context:
# https://github.com/python-semantic-release/python-semantic-release/commit/2a55f68e2b3cb9ffa9204c00ddbf12706af5c070
# older version of semantic release is used because of compatibility
# issues with older Python
run: |
git config --system --add safe.directory "*"
- name: Python Semantic Release
uses: relekang/[email protected]
# docs: https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html
uses: python-semantic-release/[email protected]
with:
github_token: ${{ secrets.GH_TOKEN }}
pypi_token: ${{ secrets.PYPI_TOKEN }}
Expand Down

0 comments on commit 39cd8dd

Please sign in to comment.