diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-24 00:30:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-24 00:30:36 +0300 |
| commit | 776188bad05746e26a35d0862e0565c86598275b (patch) | |
| tree | 6b571447eeef5686ea33c081287966003116fa6d /internal/version.go | |
| parent | e6b1d6882b1c766ad30aee5a43ab9f1dca4185f7 (diff) | |
docs: update stale version references in internal/version.go comments
- Fix Version History 'Current' to match actual constant (v0.4.1 -> v0.4.2)
- Correct usage comment to reflect actual single use (gt version subcommand)
- Update SemVer example, ldflags example, and example output to v0.4.2
Diffstat (limited to 'internal/version.go')
| -rw-r--r-- | internal/version.go | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/internal/version.go b/internal/version.go index 0b00721..5c02c22 100644 --- a/internal/version.go +++ b/internal/version.go @@ -14,7 +14,7 @@ // # Version Format // // The version string follows semantic versioning (SemVer) format: -// - Major.Minor.Patch (e.g., "v0.3.0") +// - Major.Minor.Patch (e.g., "v0.4.2") // - Pre-release versions may include suffixes like "-beta", "-rc1", etc. // - Build metadata may be appended for development builds // @@ -30,7 +30,7 @@ // // # Version History // -// Current: v0.4.1 +// Current: v0.4.2 // // See the git repository for complete version history and release notes. package internal @@ -39,15 +39,12 @@ package internal // // This constant is defined at build time and can be overridden during builds: // -// go build -ldflags="-X 'codeberg.org/snonux/gt/internal.Version=v0.3.0-20240324'" +// go build -ldflags="-X 'codeberg.org/snonux/gt/internal.Version=v0.4.2-20260524'" // -// The version is used in: -// - Command-line output: "gt version" command -// - Help and about information -// - Error messages and diagnostics +// The version is used for the "gt version" command-line subcommand. // // Example output: // // $ gt version -// v0.3.0 +// v0.4.2 const Version = "v0.4.2" |
