Skip to content

Releases & versioning ​

Votion tags a release automatically on (almost) every push to main — this page covers what triggers one, what you get, and the one thing that is never automatic.

What triggers a release ​

Every push to main is scanned for Conventional Commits since the last release tag. A commit only counts if its type is feat, fix, or perf:

Commit typeEffect
featnext release bumps minor (0.4.0 -> 0.5.0)
fix, perfnext release bumps patch (0.4.0 -> 0.4.1)
docs, chore, style, refactor, test, ci, ...no release
any type with a BREAKING CHANGE: footer or a ! (e.g. feat!:)bumps minor, not major — see below

A push containing only non-qualifying commits (a docs fix, a chore, a CI tweak) produces no release at all: no tag, no image version, no CHANGELOG entry. This is automatic, and it is the only gate — there is no separate release PR to merge or version number to hand-edit.

What a release produces ​

  • An annotated git tag vX.Y.Z on the release commit.

  • A GitLab Release with generated notes.

  • A CHANGELOG.md entry.

  • apps/docs/ops/changelog.md regenerated from that entry and committed alongside it, so the live changelog page picks it up on the next git pull with no container restart.

  • apps/api/package.json, apps/web/package.json and apps/docs/package.json updated to X.Y.Z (replacing the placeholder 0.0.0).

  • Three additional tags on the production image, alongside the existing latest and commit-SHA tags, which are unaffected:

    • registry.gitlab.com/venturini.codes/votion:vX.Y.Z — this exact release.
    • registry.gitlab.com/venturini.codes/votion:X.Y — floating, moves to the newest patch release in that minor line.
    • registry.gitlab.com/venturini.codes/votion:X — floating, moves to the newest release in that major line.

    The separate votion/api, votion/web, votion/mail and votion/calendar images and the votion/docs image get the same three tags.

See the developer deployment guide for pulling a specific one of these.

Why breaking changes don't bump the major version ​

Standard semantic-release treats any BREAKING CHANGE: footer or ! as an automatic major bump. Votion overrides that (.releaserc.json's releaseRules): pre-1.0, nothing should auto-jump to 1.0.0 off a commit message, and post-1.0 the major number is still meant to be a deliberate call, not a side effect of how someone phrased a commit footer. A breaking change still shows up clearly in the release notes under its own heading — it just computes a minor bump like any other feat.

The major version is Thomas's call, not the commit log's ​

A major bump — 0.x -> 1.0.0, or any later X.0.0 — happens only when someone with push access to main pushes an annotated tag directly:

sh
git tag -a v1.0.0 <commit-sha> -m "1.0.0"
git push origin v1.0.0

Pushing a tag (as opposed to a branch) doesn't trigger CI on its own — this is a quiet, deliberate action, not a pipeline run. From that tag onward, semantic-release reads it as the new baseline: the next qualifying commit after it computes 1.1.0 or 1.0.1 as normal, continuing automatically on top of the new major version.

Bootstrap baseline ​

The project started continuous tagging from v0.1.0 rather than letting semantic-release default an untagged repo's first release to 1.0.0 (its normal behaviour with no prior tag — exactly the jump decision 2 above exists to prevent). v0.1.0 replays none of the project's prior history; counting starts there.

Operating prerequisite ​

The release CI job pushes to main (the release commit and the tag) and calls the GitLab Releases API, both of which need a project-scoped GITLAB_TOKEN CI/CD variable (masked + protected) — an access token with api + write_repository scope and push rights on the protected main branch. This is a one-time GitLab project setting, not something the pipeline can provision for itself.

The package:extension job (see Browser extension) packages the browser extension's build output into a downloadable .zip, alongside a .zip.sha256 checksum of it — there is no detached signature. The checksum catches a corrupted or incomplete download; the download link itself already requires GitLab project membership.

Local dry run ​

just release-dry-run reuses your own host SSH access to the real origin — the same key you already push this repo with — because semantic-release's git plugin needs to list remote branches even in --dry-run. It mounts ~/.ssh read-only into a throwaway container, copies it to a root-owned, correctly-permed path inside, then discards the container; nothing is written back to your machine or logged.

Without a GL_TOKEN/GITLAB_TOKEN in your shell, expect the run to get through commit analysis and the SSH push check ("Allowed to push to the Git repository") and then stop at ENOGLTOKEN No GitLab token specified — that is the same prerequisite named above, surfacing locally instead of in CI, not a bug in the recipe. Export a personal access token with write_repository scope first if you want the dry run to go further than that boundary.