Skip to content

Releases and Versioning

devxian edited this page Nov 30, 2026 · 8 revisions

English | 한국어

Releases and versioning

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.

When releases come out

.github/workflows/release.yml runs once a day, at 9:00 Korea time.^release

  • If there is at least one feat, fix, perf or refactor commit since the last release, it makes a new release.
  • If there are none (only docs, chore or ci), it does not.
  • For an urgent release, run it now with Actions → Release → Run workflow. Turn on force to 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.

Version rules

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.

What one release does

  1. Updates the version in Cargo.toml and Cargo.lock and regenerates CHANGELOG.md.
  2. Pushes a chore(release): vX.Y.Z commit and a vX.Y.Z tag to main (as the github-actions bot).
  3. Builds for Apple silicon and Intel on macOS and merges them into a universal cozzle.app that contains cozzle and cozzle-cli.
  4. 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).
  5. Uploads cozzle-vX.Y.Z-macos-universal.dmg, the .zip and SHA256SUMS.txt to GitHub Releases, with this version's CHANGELOG as the release notes. It also uploads cozzle-vX.Y.Z-macos-arm64.zip and cozzle-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 on main.

Commit messages become release notes

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, graph and 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

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.

Clone this wiki locally