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
We get
`Execution failed for task ':display_version'.
com.github.zafarkhaja.semver.UnexpectedCharacterException (no error message)`
when we use gitflow config [gitflow "prefix"] feature = feature/ release = release/ hotfix = hotfix/ support = support/ versiontag = v_
This error occurs in NearestVersionLocator because in line Version version = Version.valueOf(tag.name[ 0 ] == versionPrefix ? tag.name[ 1..-1 ] : tag.name)
implementation compares only first char of the tag name as versionPrefix. In my config I have prefix "v_" which is 2 is string wiht length 2.
The text was updated successfully, but these errors were encountered:
We get
`Execution failed for task ':display_version'.
when we use gitflow config
[gitflow "prefix"] feature = feature/ release = release/ hotfix = hotfix/ support = support/ versiontag = v_
This error occurs in NearestVersionLocator because in line
Version version = Version.valueOf(tag.name[ 0 ] == versionPrefix ? tag.name[ 1..-1 ] : tag.name)
implementation compares only first char of the tag name as versionPrefix. In my config I have prefix "v_" which is 2 is string wiht length 2.
The text was updated successfully, but these errors were encountered: