Skip to content

fix: make release version injectable#2

Merged
im10furry merged 1 commit into
masterfrom
codex/fix-release-version
Jul 5, 2026
Merged

fix: make release version injectable#2
im10furry merged 1 commit into
masterfrom
codex/fix-release-version

Conversation

@im10furry

Copy link
Copy Markdown
Member

Summary

  • Make CLI release version and commit injectable with Go linker flags.
  • Let scion version use Go build info as a fallback for go install module@version builds.
  • Normalize text file line endings for bundle generation and doctor freshness checks so Windows checkouts do not report stale bundles.

Verification

  • go run ./internal/cmd/build-bundle
  • go test -count=1 ./...
  • go vet ./...
  • go run ./cmd/scion doctor --strict
  • go run -ldflags "-X github.com/DarkInno/scion/internal/version.Version=v0.1.1 -X github.com/DarkInno/scion/internal/version.Commit=release-test" ./cmd/scion version

@im10furry im10furry merged commit 5a00223 into master Jul 5, 2026
6 checks passed
@im10furry im10furry deleted the codex/fix-release-version branch July 5, 2026 19:10
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