Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.74 KB

RELEASING.md

File metadata and controls

38 lines (31 loc) · 1.74 KB

Releasing

Create a new issue from the Akka HTTP Release Train Issue Template by running scripts/create-release-issue.sh and follow the steps.

A few more background information about the process can be found below.

Release Automation with Github Action

Akka HTTP uses Github Actions and the sbt-ci-release plugin to release artifacts automatically. For commits to the main branch, it directly publishes artifacts to the Sonatype snapshot repository. Tags are published to Maven Central. The process is currently a two-step process:

  • Github Actions uses sbt-ci-release to prepare the release and push it to Sonatype, closing the repository at the end.
  • At that point a staging repository has been created that can be used to validate artifacts.
  • When the release has been validated, the release person needs to manually release the artifacts from staging to Maven Central.

Releasing only updated docs

It is possible to release a revised documentation to the already existing release.

  1. Create a new branch from a release tag. If a revised documentation is for the v10.2.4 release, then the name of the new branch should be docs/v10.2.4:
    $ git checkout v10.2.4
    $ git checkout -b docs/v10.2.4
    
  2. Add and commit version.sbt file that pins the version to the one that is being revised. Also set isSnapshot to false for the stable documentation links. For example:
    ThisBuild / version := "10.2.4"
    ThisBuild / isSnapshot := false
  3. Make or cherry-pick updates to the docs
  4. Build documentation locally with:
    sbt akka-docs/paradoxBrowse
  5. Don't forget to commit and push
  6. Upload the docs:
    sbt docs/publishRsync