We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6cd820 commit ca00ce0Copy full SHA for ca00ce0
.github/workflows/pypi.yml
@@ -74,8 +74,13 @@ jobs:
74
echo "No changes to commit"
75
fi
76
77
- - name: Push commit to branch
+ - name: move tag
78
+ run: |
79
+ git tag -f ${{ env.RELEASE_VERSION }} -m "$(git tag -l --format='%(contents)' ${{ env.RELEASE_VERSION }})"
80
+
81
+ - name: Push commit to branch & new tag
82
# GITHUB_TOKEN is automatically provided
83
run: |
84
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
85
git push origin HEAD:$BRANCH
86
+ git push origin --force ${{ env.RELEASE_VERSION }}
0 commit comments