You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fails to increment new major version pre-release (2.0.0-alpha.11 to 2.0.0-alpha.12) instead creates new patch pre-release (1.0.28-alpha.0) from latest release version (1.0.27)
I used the action to create the new major version pre-release (2.0.0-alpha.0) and that worked fine but on the next commit it created 1.0.28-alpha.0 instead of 2.0.0-alpha.1.
Note that tags 2.0.0-alpha.1 to 2.0.0-alpha.11 listed in the output were created by hand when trying to debug the behavior.
Fails to increment new major version pre-release (
2.0.0-alpha.11
to2.0.0-alpha.12
) instead creates new patch pre-release (1.0.28-alpha.0
) from latest release version (1.0.27
)I used the action to create the new major version pre-release (
2.0.0-alpha.0
) and that worked fine but on the next commit it created1.0.28-alpha.0
instead of2.0.0-alpha.1
.Note that tags 2.0.0-alpha.1 to 2.0.0-alpha.11 listed in the output were created by hand when trying to debug the behavior.
I think the issue is here:
github-tag-action/entrypoint.sh
Line 205 in f278d49
The log shows
[[ 2.0.0-alpha.11 =~ 1.0.28 ]]
which means that even though it can find the correct tag to increment it never will.Should that code be
if [[ ! "$pre_tag" =~ $new ]] && [[ "$pre_tag" =~ $suffix ]]
?The text was updated successfully, but these errors were encountered: