Quick Start
Install semrel
Terminal window go install github.com/SemRels/semrel/cmd/semrel@latestCreate a minimal config
Add a
.semrel.yamlat the root of your repository, or run the interactive wizard:Terminal window semrel config initOr create it manually:
schemaVersion: 1branches:- name: mainrules:- type: featbump: minor- type: fixbump: patch- type: perfbump: patchWrite 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 calculationRun 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.