summaryrefslogtreecommitdiff
path: root/internal/version.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-26 12:08:29 +0200
committerPaul Buetow <paul@buetow.org>2026-03-26 12:08:29 +0200
commitfa7f85ba33cff4714f49b4c79b1bc8872252f9b9 (patch)
tree9b68ca4fc9c5789097c0f5154bb68dbd5cf60fd5 /internal/version.go
parenteff15a3a58dc97e270d38c1d5f071ccc4c2fd6db (diff)
increment versionv0.4.1main
Diffstat (limited to 'internal/version.go')
-rw-r--r--internal/version.go18
1 files changed, 10 insertions, 8 deletions
diff --git a/internal/version.go b/internal/version.go
index 1c40cf8..1be5eb7 100644
--- a/internal/version.go
+++ b/internal/version.go
@@ -6,19 +6,19 @@
// This package contains internal constants that are used across the gt project.
// It is not intended for direct use by external code and may change without notice.
//
-// Package Location
+// # Package Location
//
// The internal package is located at internal/version.go and contains:
// - Version: Current application version string
//
-// Version Format
+// # Version Format
//
// The version string follows semantic versioning (SemVer) format:
// - Major.Minor.Patch (e.g., "v0.3.0")
// - Pre-release versions may include suffixes like "-beta", "-rc1", etc.
// - Build metadata may be appended for development builds
//
-// Usage in Code
+// # Usage in Code
//
// To access the version from the main command:
//
@@ -28,7 +28,7 @@
// fmt.Println("gt version", internal.Version)
// }
//
-// Version History
+// # Version History
//
// Current: v0.4.0
//
@@ -38,7 +38,8 @@ package internal
// Version is the current version of the gt application.
//
// 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.3.0-20240324'"
//
// The version is used in:
// - Command-line output: "gt version" command
@@ -46,6 +47,7 @@ package internal
// - Error messages and diagnostics
//
// Example output:
-// $ gt version
-// v0.3.0
-const Version = "v0.4.0"
+//
+// $ gt version
+// v0.3.0
+const Version = "v0.4.1"