Skip to content

fix: bump past existing tag when only_bump_suffix is set - #83

Merged
bennetrr merged 2 commits into
wemogy:mainfrom
tobilen:fix/hotfix-tag-collision
May 15, 2026
Merged

bennetrr merged 2 commits into
wemogy:mainfrom
tobilen:fix/hotfix-tag-collision

Conversation

@tobilen

@tobilen tobilen commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Currently, when a new version is released, the tag is created for it. If i revert the release, the tag is not deleted. If i then try to release another version, it collides with the tag created before and aborts.

This PR makes it so the action checks if a tag exists for the next highest bump and increments it until it finds a tag that doesn't exist.

It only applies to collisions with suffixed versions.

@SebastianKuesters
SebastianKuesters requested a review from bennetrr May 7, 2026 07:50
@SebastianKuesters

Copy link
Copy Markdown
Member

@bennetrr pls review this - if it is fine, please merge and release new version

@bennetrr bennetrr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bennetrr
bennetrr merged commit 92cc0bf into wemogy:main May 15, 2026
8 checks passed
@tobilen
tobilen deleted the fix/hotfix-tag-collision branch May 18, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants