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.5.0
git push origin main
git push origin v0.5.0
- Prime and verify module proxy visibility:
GOPROXY=https://proxy.golang.org go list -m github.com/openclaw/crawlkit@v0.5.0
go list -m github.com/openclaw/crawlkit@v0.5.0
- Bump downstream apps to the new tag and commit their
go.mod/go.sumupdates:
go get github.com/openclaw/crawlkit@v0.5.0
go mod tidy
pkg.go.dev indexes public modules automatically after the tag is reachable.
Use a patch tag only for narrow bug fixes on the existing API. Use a minor tag
for broad crawler infrastructure changes. The module-path move needs a new tag
on openclaw/crawlkit before downstream apps can drop local replace lines.
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/openclaw/crawlkit/v2