Quick Start
-
Install semrel
Terminal window go install github.com/GoSemantics/semrel/cmd/semrel@latest -
Create a minimal config
Add a
.semrel.yamlat the root of your repository:version: 1branches:- name: mainrelease:rules:- type: featbump: minor- type: fixbump: patch- type: perfbump: patch -
Write commits using Conventional Commits
Terminal window git commit -m "feat: add user authentication"git commit -m "fix: correct token expiry calculation" -
Dry-run to preview the release
Terminal window semrel release --dry-runsemrel will print the calculated next version and the generated changelog without making any changes:
semrel v0.1.0 – release pipeline (dry-run=true, config=.semrel.yaml)Next version: v1.1.0Changelog:## [1.1.0] – 2026-05-23### Features- add user authentication### Bug Fixes- correct token expiry calculation -
Run the real release
Terminal window semrel releasesemrel will create the git tag, publish a GitHub/GitLab release (via the configured provider plugin), and trigger any notification hooks.