- Create a new release with the next tag version (e.g.
v13.3.7
), title and release decsription including notable changes mentioning external contributors. - Travis CI will start a CI build for the new tag and publish artifacts to Bintray and will sync them to Maven Central.
- Checkout the newly created tag and run
sbt -Dakka.genjavadoc.enabled=true "++2.12.0 deployRsync repo.akka.io"
to deploy API and reference documentation. - Add the released version to
project/MiMa.scala
to themimaPreviousArtifacts
key.
Here is what happens in detail when Travis CI is building a git tagged commit:
- According to the
.travis.yml
filedeploy
section it first runs a+publish
task: - Because of the
+
a the start of the task, all of these actions are repeated for every scala version defined incrossScalaVersions
. - Because of the
bintray-sbt
plugin,publish
builds and uploads artifacts to Bintray. - By default all projects have
BintrayPlugin
enabled. Projects that havedisablePlugins(BintrayPlugin)
are not built. - Artifacts are uploaded to
https://bintray.com/$bintrayOrganization/$bintrayRepository/$bintrayPackage
which in this case is https://bintray.com/akka/maven/akka-http. - Credentials for the
publish
task are read from theBINTRAY_USER
andBINTRAY_PASS
environment variables which are stored encrypted on the.travis.yml
file. The user under these credentials must be part of the Akka team on Bintray. - Second task in the
.travis.yml
filedeploy
section isakka-http/bintraySyncMavenCentral
: - This task syncs all of the artifacts under the Akka Http package in Bintray to Maven Central. For the sync to be successful, the package first needs to be added to JCenter repository. This must be done through Bintray Web interface, and only once when the package is created.
- This task is only ran for one project, because all Akka Http projects are published to a single package on Bintray.
- Credentials for the
bintraySyncMavenCentral
task are read from theSONATYPE_USER
andSONATYPE_PASS
environment variables which are stored encrypted on the.travis.yml
file. The user under these credentials must have the rights to publish artifacts to the Maven Central under thecom.typesafe.akka
organization name.