1.5 KiB
1.5 KiB
Publishing Crawlkit
Go modules are published from git tags. There is no separate registry upload.
Release checklist
- Rebase
crawlkitand every downstream app branch on each repo'sorigin/main. - Run the crawlkit gate:
go mod tidy
git diff --exit-code -- go.mod go.sum
go vet ./...
go test ./...
- Update docs and changelogs in
crawlkitplus every downstream app branch that consumes the release. - Test downstream apps against the local checkout through a temporary Go workspace.
- Merge
crawlkittomain. - Tag the next semver release from
main:
git tag -s v0.4.0
git push origin main
git push origin v0.4.0
- Prime and verify module proxy visibility:
GOPROXY=https://proxy.golang.org go list -m github.com/vincentkoc/crawlkit@v0.4.0
go list -m github.com/vincentkoc/crawlkit@v0.4.0
- Bump downstream apps to the new tag and commit their
go.mod/go.sumupdates:
go get github.com/vincentkoc/crawlkit@v0.4.0
go mod tidy
pkg.go.dev indexes public modules automatically after the tag is reachable.
Use a patch tag such as v0.3.17 only for narrow bug fixes on the existing API.
Use a minor tag such as v0.4.0 for broad shared TUI or crawler infrastructure
changes. This branch is a v0.4.0-shaped release.
Versioning
Keep v0.x.y while the downstream crawler rewires are still settling. If the
module ever reaches v2, Go requires the module path to become:
github.com/vincentkoc/crawlkit/v2