Report the embedded release version
This commit is contained in:
6
internal/buildinfo/buildinfo.go
Normal file
6
internal/buildinfo/buildinfo.go
Normal file
@@ -0,0 +1,6 @@
|
||||
// Package buildinfo exposes metadata supplied by the release build.
|
||||
package buildinfo
|
||||
|
||||
// Version is the Narratio release identifier. Source builds report "dev";
|
||||
// release automation replaces it with the exact Git tag through -ldflags -X.
|
||||
var Version = "dev"
|
||||
Reference in New Issue
Block a user