go install names binaries after the directory, so cmd/docs installed an ambiguous `docs` binary into $GOBIN that could clobber or be clobbered by other tools. Move it to cmd/corestack-docs, matching corestack-goose, and update goreleaser, CI, docs and usage text. Accepted ADRs keep their text and gain a dated rename note. BREAKING CHANGE: `go install go.auvem.com/corestack/cmd/docs@latest` stops resolving after the next tag; use cmd/corestack-docs. @v0.1.0 still installs the old `docs` binary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
546 B
YAML
30 lines
546 B
YAML
version: 2
|
|
project_name: corestack-docs
|
|
|
|
builds:
|
|
- id: corestack-docs
|
|
main: ./cmd/corestack-docs
|
|
binary: corestack-docs
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos: [darwin, linux]
|
|
goarch: [amd64, arm64]
|
|
flags: [-trimpath]
|
|
ldflags: [-s -w]
|
|
|
|
archives:
|
|
- formats: [tar.gz]
|
|
name_template: "corestack-docs_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
|
|
checksum:
|
|
name_template: checksums.txt
|
|
|
|
gitea_urls:
|
|
api: https://gitea.auvem.com/api/v1
|
|
download: https://gitea.auvem.com
|
|
|
|
release:
|
|
gitea:
|
|
owner: corestack
|
|
name: go
|