sbt / sbt-dynver

An sbt plugin to dynamically set your version from git
Apache License 2.0
300 stars 47 forks source link

-rcX Tag suffix ignored #280

Closed caenrique closed 10 months ago

caenrique commented 10 months ago

is there a way to force the plugin to use the exact tag for the version?

we have the convention of using -rcX for pre-release versions and this is not keeping that suffix. E.g. v1.23.0-rc2 is being published as v1.23.0

dwijnand commented 10 months ago

See https://github.com/sbt/sbt-dynver#custom-version-string, you can use the dynverGitDescribeOutput to construct the version string.