Open saraleungtelus opened 2 years ago
I also did commit some code following semver conventions but the workflow didn't pick up the commit.
I'm having the same issue.
We ran into the same issue and were able to fix it by setting the option:
fetch_all_tags: true
this way it fetches all tags, instead of only the last 100 and thus is able to analyze commits/determine tag
note: this requires v5.6 or higher
This still didn't fix the issue. still getting error reference already exists.
My workflow ran successfully once before this. So Previous tag should be v0.0.1. But every push to main now can't detect existing v0.0.1 tag and tries create it again. This workflow is triggered by a push to main branch, I tested the same workflow in another branch is it is working fine.
`Run mathieudutour/github-tag-action@v6.0 with: github_token: *** default_bump: patch release_branches: main custom_release_rules: hotfix:patch,bug:patch,fix:patch,feat:minor,perf:major default_prerelease_bump: prerelease tag_prefix: v create_annotated_tag: false fetch_all_tags: false dry_run: false
Previous tag was v0.0.0, previous version was 0.0.0.
Analysis of 0 commits complete: no release
New version is 0.0.1.
New tag after applying prefix is v0.0.1.
.
Error: Reference already exists`