Add pinned tools for source-only releases
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
# Adopt ReleaseKit
|
||||
|
||||
Use a versioned Go tool dependency when ReleaseKit provides the repository's
|
||||
release commands. This records the CLI in `go.mod` and keeps it available to
|
||||
maintainers without adding imports to application or library code.
|
||||
Use a versioned Go tool dependency when a Go module provides the repository's
|
||||
release commands. Source-only repositories can instead use the installed-tool
|
||||
launcher described below.
|
||||
|
||||
## Source-only repositories
|
||||
|
||||
The [source-only example](../../examples/source-only/README.md) provides a
|
||||
profile, local launcher, and tag-verified Woodpecker workflow without requiring
|
||||
an application `go.mod`. Commit a root `.releasekit-version` containing one
|
||||
stable ReleaseKit module version. Select a published version implementing the
|
||||
profile and workflow; the example's current pin illustrates syntax and must be
|
||||
updated when the next release is available.
|
||||
|
||||
The maintained installer uses the same committed pin locally and in CI,
|
||||
installs the host executable in the ignored `.releasekit/tools` directory,
|
||||
and preserves Go proxy and checksum settings. A failed install does not leave a
|
||||
usable partial executable. The durable executable also supports the exact
|
||||
publication-recovery command printed after an uncertain push.
|
||||
|
||||
## CLI tool dependency
|
||||
|
||||
|
||||
Reference in New Issue
Block a user