-
Notifications
You must be signed in to change notification settings - Fork 14
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
Drop -SNAPSHOT from the version number of published PR builds #495
Comments
I agree. And iirc, @szeiger has also proposed this change. |
If this happens, then the following needs to be changed in val developmentVersion =
for {
v <- scalaPropOrNone("maven.version.number")
if v endsWith "-SNAPSHOT"
ov <- scalaPropOrNone("version.number")
} yield ov |
and @milessabin points out this |
One use case for leaving IIRC some parts of the SBT or Zinc build has version number logic based on |
The (big) advantage of removing |
I think the build logic could be modified to detect that the CI is publishing the version, and therefore the |
Indeed, there's no reason we can't have both. CI builds already use commands to set up the build for the current stage (like |
Given it's fairly simple to verify if the working directory has uncommitted changes, why not just use that? |
You can take it a step further and compute a sha from the uncommitted changes. I considered this option when doing the switch from ant to sbt. Both have the problem that they ignore broken incremental builds, deliberately broken incremental builds ("ant style"), accidental builds from the wrong build definition, etc. |
I don't understand the problems. |
this should wait until #507 is complete |
Why? |
well, I have to reconstruct what I might have been thinking last May we'd rather do the publishing from Travis than Jenkins (since the long term goal is to decrease/eliminate our reliance on Jenkins, because maintaining our own Jenkins instance is a drag), and if publishing is moving, it makes sense to do changes (like this otoh,
|
FWIW, |
We publish to our own repo. Though we could change that too. |
Still a good idea. But we haven't (IMO) sweated this penalty so let's "leave well enough alone". |
Yeah, I mean if someone really wants to make this change I wouldn't stand in their way, but I don't think we need an indefinitely-open ticket on it. |
Quoting from https://github.com/scala/scala/blob/v2.13.0-M3/README.md#scala-ci:
As the version number uses the git HEAD SHA I see no reason to demarcate it as unstable with
-SNAPSHOT
. I propose the suffix is dropped.I believe #252 and scala/scala#5757 are good places to start looking; for how things are done, perhaps why they were done that way, and whom to ping for more info.. 😄
The text was updated successfully, but these errors were encountered: