This document outlines the steps to create a new release of our application.
- Ensure you have push access to the
mainandreleasebranches. - Make sure all changes you want to include in the release are merged into the
mainbranch.
Recommended: run ./script/interactive_release.sh
Manual:
-
Update main branch Ensure your local
mainbranch is up to date:git checkout main git pull origin main
-
Update version number Update the version number in relevant files (e.g.,
package.json,Cargo.toml). Commit and push these changes tomain. -
Checkout release branch Switch to the
releasebranch:git checkout release
-
Merge changes from main Pull the latest changes from
maininto thereleasebranch:git pull origin main
-
Push to release branch Push the updated
releasebranch to GitHub:git push origin release
-
Monitor GitHub Actions The push to
releasewill trigger our GitHub Actions workflow. This will:- Create a new release draft
- Build the application
- Attach built artifacts to the release
-
Finalize Release
- Go to the GitHub releases page
- Review the draft release
- Make any necessary edits to the release notes
- Publish the release when ready
- Notify the team that a new release has been published
- Update any necessary documentation or changelogs
- Begin the next development cycle on
main
If you encounter any issues during the release process, please contact the DevOps team or the repository maintainer.
To build the application locally, run the following command:
yarn run tauri buildMake sure you have the necessary environment variables set for your platform. Ask Charlie about this.