github-tag-action icon indicating copy to clipboard operation
github-tag-action copied to clipboard

Not read new commit after push step

Open adrian-ub opened this issue 4 years ago • 1 comments

- 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

adrian-ub avatar Sep 15 '21 18:09 adrian-ub

@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!

dogancanbakir avatar Sep 21 '23 08:09 dogancanbakir