We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e096fa6 commit 2757428Copy full SHA for 2757428
.github/workflows/pypi.yml
@@ -31,8 +31,7 @@ jobs:
31
uses: pypa/gh-action-pypi-publish@release/v1
32
- name: Commit new version
33
run: |
34
- PATH=($(git diff --name-only ${{ github.event.before }} ${{ github.sha }}))
35
git config --local user.name "$GITHUB_ACTOR"
36
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
37
- git commit ${PATH} -m 'Bump version' || echo "No changes to commit"
+ git commit $(git diff --name-only | grep '_version') -m 'Bump version' || echo "No changes to commit"
38
git push origin || echo "No changes to commit"
0 commit comments