|Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Paul Butcher||10/13/12 6:03 AM|
I've just released a build of ScalaMock 3 for 2.10.0-RC1 to Sonatype, and instead of being published to:
as I expected, it's been published to:
Is this what I should expect? And if so, why is a release candidate treated differently from a milestone (previous milestone releases were released to directories named for the milestone).
I'm using SBT 0.12.1 with xsbt-gpg-plugin 0.6. The project definition is here:
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Fluffy||10/13/12 6:05 AM|
Yes. if you read the full email about staging, I mentioned how you should:
set scalaBinaryVersion := "2.10.0-RC1".
SBT's "binary version" logic is still dumb about -RC, -SNAPSHOT and -M, so you have to be smart for it.
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Fluffy||10/13/12 6:36 AM|
Not sure. If you're propagated to maven central, I'd guess you're hosed. If you can't delete from the oss.sonatype.org web interface, then you might just have to let it be as it is and ward people off of that version....
On Sat, Oct 13, 2012 at 9:11 AM, Paul Butcher <pa...@paulbutcher.com> wrote:
Damn - I missed that.
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Paul Butcher||10/13/12 6:39 AM|
Fair enough. My fault for not reading your message more carefully (and, for that matter, not checking the staged artefacts before publishing).
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Fluffy||10/13/12 6:40 AM|
Don't worry too much. My guess is everyone using sbt 0.12 for the first time with 2.10 will experience a wtf. I'm not sure how to call enough attention to the change though....
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Paul Phillips||10/13/12 7:08 AM|
"Not making the change" would have been the way. I can't fathom it. We can look forward to many similar mistakes.
Defaults should not burn you like that.
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Johannes Rudolph||10/15/12 12:47 AM|
This is what we are considering to use:
scalaBinaryVersion <<= scalaVersion(sV => if (CrossVersion.isStable(sV)) CrossVersion.binaryScalaVersion(sV) else sV)
Wasn't something like this in an earlier sbt 0.12(-RC?) the default?
|Re: [sbt] Surprising behaviour when releasing for 2.10.0-RC1 on Sonatype||Paul Phillips||10/15/12 11:59 AM|
Something like that - not in an RC I don't think but earlier than that. There is clearly some backstory to the changes but that story did not play out in one of my usual venues. All I know is that when the music stopped, the wrong monkey was sitting in the chair.