Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow hashtag-in-tag #147

Closed
eed3si9n opened this issue Feb 15, 2020 · 1 comment
Closed

Allow hashtag-in-tag #147

eed3si9n opened this issue Feb 15, 2020 · 1 comment

Comments

@eed3si9n
Copy link
Member

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.

@dwijnand
Copy link
Member

dwijnand commented Feb 15, 2020

Here's how you can post-process the string, to customize the resulting version: https://github.com/dwijnand/sbt-dynver#custom-version-string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants