sv4git
sv4git copied to clipboard
Allow to release major version tag
To maintain an sv4git GitHub Action, I would like to create a git tag for the major version in addition to the full semantic version one, overwriting the existing one if any. However, when I add the major version tag manually, subsequent release versions always start counting at the last major version tag, breaking version increments permanently, unless I remove the major version tag again.
Example:
- Release for
feat
commit: New version is0.1.0
, tagsv0.1.0
andv0
were created. - Release for
feat
commit: New version is0.1.0
again!
I realize that v*
tags can be ignored by configuring tag.filter=v*.*.*
:sweat_smile:.
Wouldn't it make sense to make that the default?