Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.49 KB

File metadata and controls

26 lines (22 loc) · 1.49 KB

Releasing

Prerequisites

Steps

  1. Checkout latest master.
  2. Make sure you are on a clean master and everything is pushed.
  3. Run ./gradlew clean test and make sure everything passes.
  4. Update the version in gradle.properties and the baselineVersion in binary_compatibility.gradle to the version being released. Commit, push via PR, and tag the merge commit.
  5. Run ./gradlew publishAggregationToCentralPortal -PSONATYPE_NEXUS_USERNAME=<token-username> -PSONATYPE_NEXUS_PASSWORD=<token-password>.
  6. Log in to https://central.sonatype.com and verify the deployment. Since publishingType is USER_MANAGED, you need to manually publish the deployment from the portal UI.
  7. Add a description of the new release at https://github.com/spotify/mobius/releases.
  8. Once the new set of artifacts is available on https://repo.maven.apache.org/maven2/com/spotify/mobius/, update the baselineVersion property in binary_compatibility.gradle to the version that was just released.
  9. Update the version in gradle.properties in the master branch to the next version.