blob: 24a97ea83798dd23ffaf025fdc2316a9b6e0c07c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// Package internal provides version information for the gt application.
//
// 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
//
// The internal package is located at internal/version.go and contains:
// - Version: Current application version string
//
// 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
//
// To access the version from the main command:
//
// import "codeberg.org/snonux/perc/internal"
//
// func main() {
// fmt.Println("gt version", internal.Version)
// }
//
// Version History
//
// Current: v0.3.0
//
// See the git repository for complete version history and release notes.
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/perc/internal.Version=v0.3.0-20240324'"
//
// The version is used in:
// - Command-line output: "gt version" command
// - Help and about information
// - Error messages and diagnostics
//
// Example output:
// $ gt version
// v0.3.0
const Version = "v0.3.0"
|