-
Notifications
You must be signed in to change notification settings - Fork 102
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
-SNAPSHOT
suffix is missing
#164
Comments
We are also missing SNAPSHOT suffixes unless there are uncommitted changes. |
This seems to be deliberate, judging by the setting name here. But still, it's counterintuitive that the |
The -SNAPSHOT suffix is being used to indicate uncommitted changes rather than to indicate a non-tagged commit. This causes problems for things like CI/CD pipelines, which, almost by definition, never have uncommitted changes. If a pipeline does an It seems like the the uncommitted changes indicator should be something like "-dirty" and let the -SNAPSHOT suffix follow the value of the |
Workaround for sbt/sbt-git#164
I am using these versions
Running
sbt version
on my project returns me the version as expected:git describe
but running the build on TeamCity, our build server, the version is missing the
-SNAPSHOT
suffix.How can this be caused and fixed?
The text was updated successfully, but these errors were encountered: