Process for publishing tagged Go module releases for this fork of keep-common.
- Use SemVer tags on
main:vX.Y.Zwhen matching upstream versions; append-tlabs.Nfor fork-only releases (incrementNfor subsequent fork tags at the same base version). - Latest known upstream tag is
v1.7.0from https://github.com/keep-network/keep-common (tracked via git tags). Upstream is unmaintained, so future releases proceed independently on this fork.
- Sync with upstream: pull the latest upstream tag/commit, resolve conflicts, and ensure CI is green.
- Generators:
go generate ./.../gen; verify the worktree is clean afterward. - Module sanity:
go mod tidy(expect no diff) andgo list ./...to confirm dependencies and packages resolve. - Quality gates:
go vet ./...andgo test ./...; addgo test -race ./...for concurrency-heavy changes. - Changelog: update
CHANGELOG.mdwith Added/Changed/Fixed/Breaking notes and mention the upstream commit/tag you synced.
- Tag:
git tag -a vX.Y.Z -m "Release vX.Y.Z"(orvX.Y.Z-tlabs.Nfor fork-specific releases). - Push tag:
git push origin vX.Y.Z[-tlabs.N]. - CI: pushing a
v*tag triggers the release workflow to regenerate code, run vet/tests, and publish a GitHub release with a placeholder body referencingCHANGELOG.md. Edit the GitHub release afterward to paste the changelog excerpt and upstream baseline notes.