doc/agents/release.md
Edit Release.md in the project root with the changes for this version:
## Features
* ...
## Improvements
* ...
## Fixes
* ...
This file is used by GoReleaser as the GitHub Release body.
Update the version string in pkg/util/version/version.go:
var version = "0.X.0"
Commit and push to dev:
git add pkg/util/version/version.go Release.md
git commit -m "bump version to vX.Y.Z"
git push origin dev
Create a PR from dev to master:
gh pr create --base master --head dev --title "bump version"
Wait for CI to pass, then merge using merge commit (not squash).
git checkout master
git pull origin master
git tag -a vX.Y.Z -m "bump version"
git push origin vX.Y.Z
Manually trigger the goreleaser workflow in GitHub Actions:
gh workflow run goreleaser --ref master
GoReleaser will:
package.sh to cross-compile all platforms and create archivesRelease.md as release notes| File | Purpose |
|---|---|
pkg/util/version/version.go | Version string |
Release.md | Release notes (read by GoReleaser) |
.goreleaser.yml | GoReleaser config |
package.sh | Cross-compile and packaging script |
.github/workflows/goreleaser.yml | GitHub Actions workflow (manual trigger) |
v0.X.0v0.X.Y (e.g., v0.62.1)