Repository navigation
Releases and Versioning
English | 한국어
This page is for cozzle team members. It covers when releases come out, how the version is chosen and how to write commit messages. Nobody makes a release by hand. The commit messages on main decide the version, the CHANGELOG and the release notes.
Instructions for people who download the app are in Getting started → Download from Releases.
.github/workflows/release.yml runs once a day, at 9:00 Korea time.^release
- If there is at least one
feat,fix,perforrefactorcommit since the last release, it makes a new release. - If there are none (only
docs,choreorci), it does not. - For an urgent release, run it now with Actions → Release → Run workflow. Turn on
forceto release even without such commits. - If the last run added a tag but the build or publish failed, the next run releases that version again.
Versions look like v0.x.y, and the first version is v0.1.0. git-cliff picks the next version from the commit types.^cliff
| Commits since the last release | Part that goes up | Example |
|---|---|---|
At least one feat
|
Middle (x) |
v0.3.2 → v0.4.0
|
Only fix, perf or refactor
|
Last (y) |
v0.3.2 → v0.3.3
|
Breaking changes (feat!: and so on) also raise only the middle part, not 1.0.
- Updates the version in
Cargo.tomlandCargo.lockand regeneratesCHANGELOG.md. - Pushes a
chore(release): vX.Y.Zcommit and avX.Y.Ztag tomain(as the github-actions bot). - Builds for Apple silicon and Intel on macOS and merges them into a universal
cozzle.appthat containscozzleandcozzle-cli. - Signs it with the project's own code signing certificate when the repository has one, so macOS keeps notification and folder permissions across updates; otherwise it signs ad hoc, and macOS may ask for those permissions again after an update. It is not notarized, so a dmg install needs Open Anyway in System Settings → Privacy & Security on first launch (the install script does not).
- Uploads
cozzle-vX.Y.Z-macos-universal.dmg, the.zipandSHA256SUMS.txtto GitHub Releases, with this version's CHANGELOG as the release notes. It also uploadscozzle-vX.Y.Z-macos-arm64.zipandcozzle-vX.Y.Z-macos-x86_64.zip: the same signed app with only one architecture, about half the size of the universal zip. Update Now and the install script download these. The universal files stay for first installs and older versions.
At the same time it builds Linux (x86_64 and aarch64, on Ubuntu 24.04) and Windows (x86_64, unsigned) and uploads cozzle-vX.Y.Z-linux-<arch>.tar.gz and cozzle-vX.Y.Z-windows-x86_64.zip. SHA256SUMS.txt covers every file. If a Linux or Windows build fails, the release still goes out with the macOS files and the notes say which file is missing.
The release bot pushes a commit to
main. After 9:00, rebase your work branch onmain.
Use the Conventional Commits format. Commits that do not follow it are left out of the CHANGELOG.
<type>(<scope>): <summary>
feat(browser): add TV to the viewport size modes
fix(graph): do not pass names starting with '-' to git as options
| Type | CHANGELOG group | Triggers a release |
|---|---|---|
feat |
Features | Yes (middle part) |
fix |
Bug fixes | Yes |
perf |
Performance | Yes |
refactor |
Refactoring | Yes |
docs |
Documentation | No, but it appears in the next release notes |
chore, ci, build, style, test
|
Left out | No |
- The scope (
browser,graphand so on) appears in bold at the start of the line. - Commit hash links are added automatically.
- Users see the summary line as is. Write it in English, for the reader: what changed.
The format settings are in cliff.toml in the repository.
CHANGELOG.md lives at the repository root. The first release creates it, and every release regenerates it, so do not edit it by hand. To correct something, fix it with the next commit message.
cozzle · MIT License · Repository · Open an issue · Report a vulnerability