-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with multiple pre-releases created and patch bump #276
Comments
Without seeing the runner logs I can only guess. One way to try the sort order is fork, revert this and test your fork https://github.com/anothrNick/github-tag-action/pull/272/files |
If you can share more details of your release and tagging strategy would help understand what tags are manual or automated in the committer history |
Hi, thanks for getting back. I'm gonna add my configuration (GH action yaml), and paste some logging. I've "fixed" this by selecting a different prerelease prefic for release/ and a different one for hotfix/ branches. But seems like the problem will show up again at some point. |
I just got the same issue with a straight forward tag bump haven't had any issues before |
If you can test as suggested in the previous responses to fork and revert the pr then confirm we can do something about. I have not seen this but seems the pattern occurs when there are large amounts of tags in the tepo. |
Hi! I'm having an issue while creating RC tags (patch). Seems like it grabs the correct non-rc to create the tag from, but doesn't take into account if there's any other RC tag on that base non-rc tag. First run (when the first rc.0 tag doesn't exit, runs fine. Subsequent runs, fail). To clarify:
`* [new tag] v3.29.3 -> v3.29.3
fatal: ambiguous argument 'master..HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
History:
Merge 158d9c076736eb34fdb6820a61ff9b2ac2379024 into 394516ced4e6ce5e5fa6014a3ba80ebcd895adeb
Setting rc pre-tag v3.33.0-rc.15 - With pre-tag v3.32.4-rc.0
EVENT: creating local tag v3.32.4-rc.0
Updated tag 'v3.32.4-rc.0' (was a098e4941)
EVENT: pushing tag v3.32.4-rc.0 to origin
2023-07-17T14:51:33Z: **pushing tag v3.32.4-rc.0 to repo /
"message": "Reference already exists",
"documentation_url": "https://docs.github.com/rest/reference/git#create-a-reference"
}`
On first run, the tag is properly created: v3.32.4-rc.0, because it should grab the latest non-rc tag (3.32.3) and bump it. On subsequent runs, it wants to do the same.
Another odd behaviour, is that the part "Setting rc pre-tag" is grabbing the latest RC tag", and "With pre-tag" grabs the correct one.
Thanks in advance
The text was updated successfully, but these errors were encountered: