scala/scala-dev

Release Scala 2.12.20-M1

Closed this issue · 5 comments

Stage

Release

  • Push scala/scala tag: git push https://github.com/scala/scala.git v2.12.20-M1
  • Promote staging repos: st_stagingRepoPromote [scala-repo], st_stagingRepoPromote [modules-repo] (or use oss.sonatype.org web UI)

Find the release on Maven Central

Afterwards

  • Create a scala/scala PR to:
    • update starr.version in /versions.properties

https://app.travis-ci.com/github/scala/scala/jobs/625182602 has:

[error] java.net.ProtocolException: Server redirected too many  times (20)

sigh, need to regenerate secret, using instructions at #783 (comment) — just need to do SONA_USER and SONA_PASS, a la scala/scala@5ce767f

refreshing those secrets didn't work, same errors at https://app.travis-ci.com/github/scala/scala/jobs/625183478

I think the mistake I made was to put the actual username/password in the secrets, instead of the Sonatype user token

I will try again

it worked this time, artifacts are en route to Maven Central

I think the mistake I made was to put the actual username/password in the secrets, instead of the Sonatype user token

right, i think there was a recent change at sonatype to only accept the token, no longer the password.

https://support.sonatype.com/hc/en-us/articles/360049469534-401-Content-access-is-protected-by-token-when-accessing-repositories