Skip to content

Standardize --version output with Go and platform metadata#10

Merged
JaredHatfield merged 3 commits into
mainfrom
copilot/update-version-command-format
May 24, 2026
Merged

Standardize --version output with Go and platform metadata#10
JaredHatfield merged 3 commits into
mainfrom
copilot/update-version-command-format

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 24, 2026

Summary

  • Update --version output to include runtime metadata in the format projectName version vX.Y.Z (goX.Y, os/arch)
  • Keep existing CLI behavior unchanged; only adjust version string formatting
  • Add a formatter helper that normalizes semver (v prefix for bare X.Y.Z) and appends runtime.Version(), runtime.GOOS, and runtime.GOARCH
  • Add unit tests covering semver normalization and non-semver passthrough behavior

Validation

  • go build ./...
  • go clean -testcache && go test ./...
  • Parallel validation: Code Review + CodeQL
    • CodeQL: 0 alerts
    • Code Review: one non-blocking suggestion about regex placement/comments left as-is to preserve the requested targeted logic and structure

Copilot AI and others added 3 commits May 24, 2026 00:36
Copilot AI requested a review from JaredHatfield May 24, 2026 00:38
@JaredHatfield JaredHatfield marked this pull request as ready for review May 24, 2026 00:38
@JaredHatfield JaredHatfield merged commit cadc4b5 into main May 24, 2026
4 checks passed
@JaredHatfield JaredHatfield deleted the copilot/update-version-command-format branch May 24, 2026 00:40
@github-project-automation github-project-automation Bot moved this from Todo to Done in UnitVectorY Labs May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants