Release Scala 2.12.18-M1
SethTisue opened this issue · 4 comments
SethTisue commented
context is scala/scala#10306 — we need to re-bootstrap in order to test on JDK 20
Stage
- Make sure there are no stray staging repos on Sonatype
- Trigger a custom build on travis
- Select the correct branch
- Custom config:
before_script: export SCALA_VER_BASE=2.12.18 SCALA_VER_SUFFIX=-M1
- https://app.travis-ci.com/github/scala/scala/builds/261190532
- Create the scala/scala tag locally:
git tag -s -m "Scala 2.12.18-M1" v2.12.18-M1 5ce767fa2b295d0cb4ef56014ede18efbc90ea9c
Release! (point of hard no-return)
- Push scala/scala tag:
git push https://github.com/scala/scala.git v2.12.18-M1
- Promote staging repos (using oss.sonatype.org web UI)
Check availability
- Find the release on maven central: https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/$SCALA_VER/
Afterwards
- Create a scala/scala PR to:
- update
starr.version
in/versions.properties
- update
SethTisue commented
I verified that the same "server redirected too many times" thing happens if I try to build 2.13.11-M1
I think I need to regenerate the Travis-CI secrets, like last time (#783 (comment))
SethTisue commented
I pushed scala/scala@5ce767f directly to 2.12.x, but it'll take a while to see whether it worked, since the integration build is in the queue before the triggered build (https://app.travis-ci.com/github/scala/scala/builds/261190532)
SethTisue commented
That worked.