Skip to content

chore: config-driven version and release identity - #7

Merged
xeaser merged 1 commit into
mainfrom
chore/release-identity
Aug 18, 2026
Merged

xeaser merged 1 commit into
mainfrom
chore/release-identity

Conversation

@xeaser

@xeaser xeaser commented Aug 18, 2026

Copy link
Copy Markdown
Owner

What

Inject release identity from existing sources instead of hardcoding 0.4.0 / xeaser/squad-opencode. Local go build reports dev; GoReleaser -ldflags -X stamps the tag (and optionally GITHUB_REPOSITORY) into the binary. Drops hardcoded GitHub owner/name so Actions publishes to the current repo.

Beads: squad-h7s.2. Spec: docs/superpowers/specs/2026-08-18-config-driven-release-identity-design.md.

How to test

  • go test ./...
  • Docs updated if a user-visible command or flag changed (CONTRIBUTING only; CLI surface unchanged)

go build -o squad-oc ./cmd/squad-oc && ./squad-oc version prints dev.
go build -ldflags "-X github.com/xeaser/squad-opencode/internal/version.Version=9.9.9" then version prints 9.9.9.

Checklist

  • Commits are signed (required on the default branch)
  • No secrets, no .opencode/node_modules
  • Does not add Copilot, Ink shell, Aspire, or npm install

Inject Version from the git tag via GoReleaser ldflags. Local builds report
dev. Repo follows the Go module path; releases may override from
GITHUB_REPOSITORY. Drop hardcoded GitHub owner/name.

Beads: squad-h7s.2
@xeaser
xeaser merged commit 63c501f into main Aug 18, 2026
7 checks passed
@xeaser
xeaser deleted the chore/release-identity branch August 18, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant