Archived
Add a release skill
Picks the next semver from the commits since the last tag, runs a release check, tags and pushes, hands over to the developer for make release, then creates the Gitea release with MCP. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,12 +22,19 @@ go run ./cmd/submarine [dir] # run on a repository (default: cwd)
|
||||
go run ./cmd/submarine --mock # run on mock data
|
||||
scripts/make-fixture.sh DIR # build a test superproject in DIR
|
||||
make dist # cross-compile into dist/
|
||||
GITEA_TOKEN=… make release # publish a tagged release (outward-facing)
|
||||
GITEA_TOKEN=… make release # publish a tagged release (outward-facing; run by the developer)
|
||||
go vet ./...
|
||||
go test ./...
|
||||
gofmt -l . # must print nothing
|
||||
```
|
||||
|
||||
## Releasing
|
||||
|
||||
Use the `release` skill (`/release`, `.claude/skills/release/SKILL.md`): it
|
||||
picks the next semver, runs a check, tags and pushes, asks the developer to
|
||||
run `make release`, then creates the Gitea release. Never run `make release`
|
||||
or push tags outside of it.
|
||||
|
||||
## Rules
|
||||
|
||||
- **Keep docs in sync.** A change to behavior, keys, colors, wording or
|
||||
|
||||
Reference in New Issue
Block a user