1.7 KiB
tools/bump
go run ./tools/bump plan reports stale pins and changes nothing;
go run ./tools/bump verify exits non-zero when pins disagree. A hand-written
bump follows the same rules:
modernc.org/libcmoves only to the versionmodernc.org/sqliterequires;gvisor.dev/gvisoronly to the versiontailscale.comrequires. Read both off the owner'sgo.modviaproxy.golang.org, never guess. If the partner cannot be resolved, neither half moves.go mod tidycan detach thego.modNOTE comments explaining this; check they are still attached.- Any
go.mod/go.sumchange needsgo run ./cmd/vendorhash update. go.mod'sgodirective must not exceed nixpkgs' Go.go getraises it silently and local builds download a toolchain; nix builds useGOTOOLCHAIN=localand fail.bump verifyreports it; the tool never edits the directive.- Actions: see
.github/AGENTS.md.
Not encoded in the tool: github.com/libdns/* providers and
github.com/caddyserver/certmagic must share the github.com/libdns/libdns
major version. One provider instance serves both, so a provider on another
major waits until certmagic moves.
Servertest Terraform tests run the newest three tailscale/tailscale provider
releases from terraformProviderVersions (hscontrol/servertest/apiv2_test.go).
The list is committed, so new releases arrive as bump PRs. A test of a provider
feature calls requireProvider with the first release that has it.
Dockerfile.tailscale-HEAD and Dockerfile.derper build an unpinned tailscale
branch: their builder image is a floor (≥ upstream's go directive), and
GOTOOLCHAIN=auto turns an upstream bump into a slower build, not a broken one.