mirror of
https://github.com/Kyren223/eko.git
synced 2025-09-05 21:18:14 +00:00
Directly embedding version inside the app instead of injecting it at
build time, so there is always only one source of truth
This commit is contained in:
1
embeds/VERSION
Normal file
1
embeds/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
v0.0.11
|
@@ -21,8 +21,10 @@ import (
|
||||
"sync/atomic"
|
||||
)
|
||||
|
||||
//go:embed VERSION
|
||||
var Version string
|
||||
|
||||
var (
|
||||
Version string = "unknown"
|
||||
Commit string = "unknown"
|
||||
BuildDate string = "unknown"
|
||||
)
|
||||
|
Reference in New Issue
Block a user