Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.76 KB

RELEASE.md

File metadata and controls

52 lines (36 loc) · 1.76 KB

📦 How to Release

1. Check out the main Branch

  • Ensure you are on the main branch and have pulled the latest changes:
    git checkout main
    git pull origin main

2. Update the Version in library/build.gradle.kts

  • Remove -SNAPSHOT from the version in library/build.gradle.kts.
  • Commit the change:
    git commit -m "Prepare next release" .

3. Create a Git Tag and Push It

  • Tag the release version and push it:
    git tag x.y.z
    git push origin x.y.z

4. Trigger the Release Action

5. Sign in to Sonatype and Close the Staged Repo

  • Head to Sonatype and sign in (credentials are in the Bitwarden Open Source Collection).
  • Search for the staged repo, click Close.
  • After it's successfully Closed, click Release and check "Drop after release".

6. Edit the Release on GitHub

  • After step 4 is complete, head to the GitHub release page and edit the new release, and publish it. 🎉

7. Bump the Version for Development

  • Increment the minor (Major.Minor.Patch) version in library/build.gradle.kts and add -SNAPSHOT to indicate the next development version.
  • Commit this change:
    git commit -m "Next development version" .

8. Push and Celebrate! 🎉💃

  • Push your changes and celebrate a job well done!