Skip to content

🔥 Retire ws-cli's own version scheme#20

Merged
bdsoha merged 1 commit into
mainfrom
feature/version-retirement
Jul 1, 2026
Merged

🔥 Retire ws-cli's own version scheme#20
bdsoha merged 1 commit into
mainfrom
feature/version-retirement

Conversation

@bdsoha

@bdsoha bdsoha commented Jul 1, 2026

Copy link
Copy Markdown
Member

Report the go-module version via debug.ReadBuildInfo() instead of a hardcoded 0.0.x literal, and drop the auto-tag workflow.

Workspace now consumes ws-cli by commit (git-refs), so the semver + tag ritual is dead weight — the pseudo-version the binary is installed at is the identity.

Changes

  • cmd/info/version.go — resolve version from ReadBuildInfo(); falls back gracefully
  • cmd/info/info.go, cmd/root.go — consume the new version source
  • .github/workflows/tag.yaml — removed (auto-tag workflow retired)
  • cmd/info/version_test.go — coverage for the build-info path

Context

Story A of the epic "ws-cli de-tag + workspace-versioned annotations" (2026-q2-62). Story B (2026-q2-63, annotations + serialize) is pending and must land before the next→vX release codemod runs live.

Report the go-module version via debug.ReadBuildInfo() instead of a
hardcoded 0.0.x literal, and drop the auto-tag workflow. Workspace now
consumes ws-cli by commit (git-refs), so the semver + tag ritual is dead
weight — the pseudo-version the binary is installed at is the identity.
@bdsoha bdsoha merged commit 85f54c9 into main Jul 1, 2026
3 checks passed
@bdsoha bdsoha deleted the feature/version-retirement branch July 1, 2026 20:09
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