Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.19 KB

RELEASING.md

File metadata and controls

45 lines (32 loc) · 2.19 KB

Production Releases

Prepare

  1. Define the next semantic version

    Semantic versioning: a.b.c

    • a: major breaking changes
    • b: new functionality, new features
    • c: any other small changes
  2. Checkout the main branch and make sure it is up-to-date: git checkout main && git pull

  3. Create a new branch

  4. Update the CHANGELOG.md file with changes of this release, you should add a new section with your version number and the relevant updates, like the ones that exist on the previous versions

  5. Change the version in gradle.properties

  6. Change the version in maestro-cli/gradle.properties

  7. git commit -am "Prepare for release X.Y.Z." (where X.Y.Z is the new version)

  8. Submit a PR with the changes against the main branch

  9. Merge the PR

Tag

  1. git tag -a vX.Y.Z -m "Version X.Y.Z" (where X.Y.Z is the new version)
  2. git push --tags
  3. Wait until all Publish actions have completed https://github.com/mobile-dev-inc/maestro/actions

Publish Maven Central

  1. Trigger the Publish Release action
    • ATTENTION: Wait for it to finish
  2. Go to OSS Sonatype and login with user/password
  3. Go to Staging Repositories, select the repository uploaded from the trigger above.
  4. Click "Close" and then "Release". Each of these operations take a couple minutes to complete

CAUTION: You should go back to the notion document to see how to update the Robin and Maestro Cloud versions before updating the CLI


Publish CLI

  1. Trigger the Publish CLI Github action
  2. Test installing the cli by running curl -Ls "https://get.maestro.mobile.dev" | bash
  3. Check the version number maestro --version