https://github.com/posthook/posthook-go
-
Update the version constant in
posthook.go:const Version = "1.1.0" // bump as needed
-
Run tests:
go test ./... -
Commit and push:
git add -A git commit -m "Release v1.1.0" git push origin main -
Tag the release:
git tag v1.1.0 git push origin v1.1.0
-
Trigger Go module proxy indexing:
GOPROXY=https://proxy.golang.org go list -m github.com/posthook/posthook-go@v1.1.0
-
Create GitHub release:
gh release create v1.1.0 --title "v1.1.0" --notes "Release notes here"
Follow semver:
- Patch (1.0.x): Bug fixes, doc updates
- Minor (1.x.0): New features, backward-compatible changes
- Major (x.0.0): Breaking API changes