This project uses an automated release workflow via GitHub Actions.
- Go to Actions → Release → Run workflow
- Select action:
bump-patch(0.1.0 → 0.1.1) - bug fixesbump-minor(0.1.0 → 0.2.0) - new featuresbump-major(0.1.0 → 1.0.0) - breaking changes
- Click "Run workflow"
- Review and merge the auto-created PR
- Done! Merging automatically:
- Creates git tag
vX.Y.Z - Publishes to crates.io
- Creates GitHub Release with release notes
- Builds and uploads binaries for:
x86_64-unknown-linux-gnu(Linux x64, static glibc)x86_64-unknown-linux-musl(Linux x64, static musl)aarch64-unknown-linux-gnu(Linux ARM64, static glibc)aarch64-unknown-linux-musl(Linux ARM64, static musl)x86_64-apple-darwin(macOS x64)aarch64-apple-darwin(macOS Apple Silicon)x86_64-pc-windows-msvc(Windows x64)
- Creates git tag
The Homebrew formula lives in homebrew-core and is updated automatically by Homebrew's autobump bot after each release — no manual step required.
If you need to rebuild binaries for an existing release:
- Go to Actions → Release → Run workflow
- Select action:
build-binaries - Enter version: e.g.,
0.1.1(without thevprefix) - Click "Run workflow"
Linux binaries are built for both GNU and musl targets, and their archive names
use the matching target triples. The static GNU archives preserve compatibility
with existing tuicr update installations.
The release PR includes:
Cargo.toml- version bumpCargo.lock- updated lockfileCHANGELOG.md- auto-generated from commits
For meaningful changelogs, use conventional commits:
| Prefix | Category | Example |
|---|---|---|
feat: |
Features | feat: add export to JSON |
fix: |
Bug Fixes | fix: resolve crash on empty diff |
docs: |
Documentation | docs: update keybindings table |
perf: |
Performance | perf: optimize large file rendering |
refactor: |
Refactor | refactor: simplify state machine |
test: |
Testing | test: add integration tests |
chore: |
Miscellaneous | chore: update dependencies |
The formula lives in homebrew-core
(brew install tuicr) and is bumped automatically by Homebrew's autobump bot when a
new release is published — no manual action is needed.
The following secrets must be configured in GitHub repository settings:
CARGO_REGISTRY_TOKEN- API token from https://crates.io/settings/tokens
# Update version in Cargo.toml manually, then:
cargo publish --dry-run # verify
cargo publish # publish to crates.io
git tag v0.2.0
git push origin v0.2.0