-
Notifications
You must be signed in to change notification settings - Fork 47
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
Convenience for turning off the timestamp #123
Comments
I'd recommend redefining the version number to that end. So |
(note that you can do this in your own |
But they're not stable with the timestamp in there either - if you run |
While you're right that sadly the timestamps are staler than they should be they're still fresher than the effect of a |
I mostly remove the timestamp because it causes different snapshot version-names when crossbuilding for different scala versions. When switching scala-versions the version is recalculated and hence it can be different when crossbuilding. Is this solvable without removing the timestamp? |
I've worked around that by caching the first timestamp in system properties 🙂 ... I agree that use-case should be fixed. |
Sometimes when you're developing a library or sbt plugin, the most convenient way to test it is in another project, and so you have a dev cycle like this:
sbt publishLocal
When using sbt-dynvar, this dev cycle becomes far more tedious:
sbt publishLocal
plugins.sbt
/build.sbt
in dependent projectIt'd be nice if out of the box, sbt dynver had a system property that could be set to turn off outputting the timestamp, perhaps replacing it with
dev
. Of course, I can do this in my own project, but often the project is not my own project, and I don't want to go updating thebuild.sbt
of that project to override the sbt config, and then need to back it out each time I commit, etc.The text was updated successfully, but these errors were encountered: