This project has two GitHub Actions workflows for building and releasing:
Triggers: Push to main branch
What it does:
- Automatically builds the application for all platforms
- Generates a new version number (increments patch version)
- Creates a new release tag and GitHub release
- Uploads build artifacts
Example: When you merge a PR to main, it will:
- Build v1.0.1 (if the last tag was v1.0.0)
- Create a GitHub release with the new version
- Upload the built applications
Triggers:
- Push with a tag (e.g.,
git tag v2.0.0 && git push origin v2.0.0) - Manual workflow dispatch from GitHub Actions UI
What it does:
- Builds the application for all platforms
- Creates a release with the specified tag version
- Generates changelog from commits since the last tag
- Uploads build artifacts
- Push your code to a feature branch
- Create a Pull Request to
main - When merged, the automatic workflow will:
- Build the app
- Create a new release (e.g., v1.0.1)
- Upload the binaries
- Create and push a tag:
git tag v2.0.0 git push origin v2.0.0
- The manual workflow will create a release with that version
- Go to GitHub Actions → Manual Release Builder
- Click "Run workflow"
- The workflow will build and create a release
- Automatic releases: Increment patch version (1.0.0 → 1.0.1)
- Manual releases: Use whatever version you specify in the tag
Make sure these secrets are set in your GitHub repository:
TAURI_PRIVATE_KEY: Your Tauri signing keyTAURI_KEY_PASSWORD: Password for the signing keyGITHUB_TOKEN: Automatically provided by GitHub
- If releases aren't being created, check that the secrets are properly configured
- If builds fail, check the GitHub Actions logs for platform-specific issues
- Make sure your main branch is protected and requires PR reviews if needed