Skip to content

Commit

Permalink
don't try to bump to dev version during pypi publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
matteius committed Sep 29, 2024
1 parent 89fd265 commit 9d7dc56
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,3 @@ jobs:
password: ${{ secrets.PYPI_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
packages-dir: dist/

# git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:master
# we need to use a deploy key for this to get around branch protection as the default token fails
- name: Pre-bump
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
python -m pipenv run inv release.bump-version --dev --patch
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.REPO_TOKEN }}

0 comments on commit 9d7dc56

Please sign in to comment.