mask releaseThis interactive script will:
- Show current version from
tdx.toml - Ask you to choose: Major, Minor, or Patch
- Calculate the next version number
- Update
tdx.toml - Commit and tag the release
- Push to GitHub
Everything else is fully automated. GitHub Actions will:
- β Build binaries for all platforms (macOS, Linux, Windows)
- β Generate AI-powered release notes with Claude Haiku 4.5
- β Create GitHub Release with all binaries attached
- β Download all release binaries
- β Calculate SHA256 checksums
- β
Update
homebrew-tap/Formula/tdx.rbautomatically - β Commit and push to tap repository
- β Run tests and linting on all PRs
- β Verify builds on all platforms
Watch the workflows at:
Within minutes, users can install with:
brew upgrade niklas-heer/tap/tdxUse these prefixes for better AI-generated release notes:
feat:- New features β β¨ Features sectionfix:- Bug fixes β π Bug Fixes sectiondocs:- Documentation β π Documentation sectionchore:- Maintenance β βοΈ Maintenance sectionrefactor:- Code improvements β π§ Improvements section
Pro tip: Add detailed commit bodies! The AI uses them to write richer release notes.
Examples:
# Good - with detailed body
git commit -m "feat: add dark mode support" -m "- Toggle with :dark-mode command
- Persists user preference
- Works with all color schemes"
# Also good - simple commit
git commit -m "fix: resolve crash on startup"
git commit -m "docs: update installation guide"The release workflow builds these binaries:
| Platform | Architecture | Artifact |
|---|---|---|
| macOS | Apple Silicon | tdx-darwin-arm64 |
| macOS | Intel | tdx-darwin-amd64 |
| Linux | x64 | tdx-linux-amd64 |
| Linux | ARM64 | tdx-linux-arm64 |
| Windows | x64 | tdx-windows-amd64.exe |
To build locally for all platforms:
mask build-allBinaries will be in the dist/ directory.