github-tag-action
github-tag-action copied to clipboard
Not read new commit after push step
- uses: actions/checkout@v2
- name: Create commit
run: |
git add dist
git add .
git commit -m "feat(svg): update simple icons"
git push
echo "GITHUB_SHA=$(git rev-parse main)" >> $GITHUB_ENV
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
tag_prefix: ""
release_branches: main
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}
Calculate the new version with the previous commits
@mathieudutour, I am also experiencing the same issue at https://github.com/projectdiscovery/mapcidr/blob/main/.github/workflows/autorelease-tag.yml. However, I am not sure if I am missing something. Can you provide any additional information or insight on the matter? Thanks!