Closed SethTisue closed 3 years ago
hmm, https://travis-ci.com/github/scala/scala/jobs/485066042 has
[error] java.io.FileNotFoundException: /home/travis/.sbt/gpg/secring.asc (No such file or directory)
[error] at java.io.FileInputStream.open0(Native Method)
[error] at java.io.FileInputStream.open(FileInputStream.java:195)
[error] at java.io.FileInputStream.<init>(FileInputStream.java:138)
[error] at com.jsuereth.pgp.StreamingLoadable.loadFromFile(StreamingLoadable.scala:11)
[error] at com.jsuereth.pgp.StreamingLoadable.loadFromFile$(StreamingLoadable.scala:11)
[error] at com.jsuereth.pgp.SecretKeyRing$.loadFromFile(SecretKeyRing.scala:45)
[error] at com.jsuereth.pgp.PGP$.loadSecretKeyRing(package.scala:31)
not sure why. I wonder if we ought to bite the bullet and upgrade to sbt-pgp 2.x
rings a bell, but i'm not sure which one right now...
I was tempted to push through an upgrade to sbt-pgp 2 rather than attempt to fix it with the existing versions, but probably it's better to at least try to do the minimum possible fix, first, and only consider an sbt-pgp upgrade as a last resort.
My thinking had been, well we moved to travis-ci.com so maybe that means there's a newer GPG on the hosts. But sbt-pgp 1 uses BouncyCastle, so it shouldn't matter.
Next thing to try, I guess, is just regenerating the secrets.
The secrets were added by Adriaan in https://github.com/scala/scala/pull/6390 in 2018, specifically in 41e376a
(#6390), and haven't been touched since
Lukas noticed that https://github.com/scala/scala/pull/7432 added dist: bionic
to .travis.yml
, so that looks like the culprit
for debugging admin/init.sh
, something like https://github.com/scala/scala/commit/708367bd18e214cbce1952f574aa58b3830b02d8 may be useful
in the interest of getting the release out, I removed dist: bionic
from .travis.yml
and triggered a Travis job on that: https://travis-ci.com/github/scala/scala/jobs/485158674
later at our leisure we can figure out what to do going forward: https://github.com/scala/scala-dev/issues/764
in the interest of getting the release out, I removed dist: bionic from .travis.yml and triggered a Travis job on that: travis-ci.com/github/scala/scala/jobs/485158674
that did work, but I dropped the staging repos since https://github.com/scala/scala/pull/9516 seems like a better idea (thanks @dwijnand for the suggestion)
Key links:
N weeks before the release
Release announcement / notes
N days before release
testAll
) on JDK 11 (ought to be in CI, but locally for now.)testAll
) on JDK 15 (ought to be in CI, but locally for now.)Point of no return
Once sufficient time has passed since last merged PR, it's time to cut the release!
How long we wait depends on what kind of release it is. For a major release, it might be 1-2 weeks, to give core projects time to try out the preceding release candidate and/or the current candidate nightly. For point releases, assuming we've given the community ahead-of-time warning and kept them appraised of progress on the Discourse thread, and assuming the last changes merged seem sufficiently safe, we might build the next day.
before_script: export SCALA_VER_BASE=2.13.5 SCALA_VER_SUFFIX=""
git tag -s -m "Scala $SCALA_VER" v$SCALA_VER $SCALA_SHA
git tag -s -m "Scala $SCALA_VER" v$SCALA_VER $DIST_SHA
git push https://github.com/scala/scala.git v2.13.5
git push https://github.com/scala/scala-dist.git v2.13.5
before_script: export version=2.13.5 scala_sha=8cc248dc1305df4c17bb6b5738b700b60c9b5437 mode=archives
: https://travis-ci.com/github/scala/scala-dist/builds/217896025before_script: export version=2.13.5 scala_sha=8cc248dc1305df4c17bb6b5738b700b60c9b5437 mode=update-api
: https://travis-ci.com/github/scala/scala-dist/builds/217896042st_stagingRepoPromote [scala-repo]
,st_stagingRepoPromote [modules-repo]
(or use oss.sonatype.org web UI)Check availability
When everything is on maven central
documentation/api.md
download/index.md
_config.yml
(update devscalaversion or scalaversion)index.md
(updatecurrentScalaVersion
)api/all.md
,_config.yml
current
symlink for the API docs/home/linuxsoft/archives/scala/api
onchara.epfl.ch
2.1x.y
to $SCALA_VER)ssh jenkins-worker-publish
, then from there you canssh -i ~/.ssh/jenkins_lightbend_chara scalatest@chara.epfl.ch
Modules
Announcements
Afterwards
starr.version
in/versions.properties
Global / baseVersion
in/build.sbt
mimaReferenceVersion
in/project/MimaFilters.scala
mimaFilters
in/project/MimaFilters.scala
, except the one(s) labeled "KEEP"spec/_config.yml
, if it's a major bumplatestSpecVersion
inspec/_config.yml
on the old branch, so that spec is marked as no longer current_data/footer.yml
and_data/doc-nav-header.yml
on docs.scala-lang.org