Closed Sciss closed 3 years ago
There used to be this https://github.com/scala/scala-swing/blob/693c8616e730ff22c198feb581b98d779fa7b426/build.sh#L26 - but that only worked for new 2.13.x versions.
My attempt to fix the script: https://github.com/scala/scala-swing/pull/145
I can't really test this, because travis-ci.org - non-paid service - has moved to throttle-ware, so it will take a day to build my fork. If you drop the current contents at sonatype, I will just merge this and keep fingers crossed.
I think it works as expected. "Normal build", running each matrix cell with publish-local:
https://travis-ci.org/github/Sciss/scala-swing/builds/747665806
Tagged build, exiting all matrix cells except 2.13.x on JDK 8 with 'set every scala version':
https://travis-ci.org/github/Sciss/scala-swing/builds/747667211
Here is the one that tries to publish - it just publishes internally to Travis, but that's probably just the difference to your Travis set-up, credentials etc.:
https://travis-ci.org/github/Sciss/scala-swing/jobs/747667216
can you, @SethTisue , just delete the duplicate artifacts and release what's already on Sonatype?
done, a few minutes ago. (leaving the ticket open since the artifacts haven't actually reached Maven Central yet)
as for how to handle this going forward, see my remarks on #145
I can't really test this, because travis-ci.org - non-paid service - has moved to throttle-ware, so it will take a day to build my fork
(as we discussed on Gitter, you can flip the switch to move your fork to travis-ci.com... though then your new problem will be running out of minutes)
Ok - new artifacts should be ready to be released - https://travis-ci.com/github/scala/scala-swing/builds/206816837
I already released the staged artifacts from yesterday, and they are on Maven Central: https://repo1.maven.org/maven2/org/scala-lang/modules/scala-swing_3.0.0-M2/3.0.0/
Your attempt today went fine, I see a new staging repo (and I dropped it). So now you know the drill for next time.
So I did this and it made Travis publish for all Scala versions - https://travis-ci.com/github/scala/scala-swing/jobs/454325285 - , not just 3.0.0-M2. Should we rectify the scripts, or can you, @SethTisue , just delete the duplicate artifacts and release what's already on Sonatype?