Allow hashtag-in-tag
eed3si9n opened this issue · comments
eugene yokota commented
Ref sbt/sbt-ci-release#102 (comment)
steps
$ git tag v1.4.0-M2#something
$ sbt
....
sbt:IO Root> version
[info] io / version
[info] 1.4.0-M2#something
[info] version
[info] 1.4.0-M2#something
problem
version is set to 1.4.0-M2#something
.
expectation
I'd like the version to be set to 1.4.0-M2
removing #
and subsequent letters.
Dale Wijnand commented
Here's how you can post-process the string, to customize the resulting version: https://github.com/dwijnand/sbt-dynver#custom-version-string.