summaryrefslogtreecommitdiff
path: root/embeds
diff options
context:
space:
mode:
Diffstat (limited to 'embeds')
-rw-r--r--embeds/VERSION1
-rw-r--r--embeds/embeds.go4
2 files changed, 4 insertions, 1 deletions
diff --git a/embeds/VERSION b/embeds/VERSION
new file mode 100644
index 0000000..3527dbc
--- /dev/null
+++ b/embeds/VERSION
@@ -0,0 +1 @@
+v0.0.11
diff --git a/embeds/embeds.go b/embeds/embeds.go
index 2cf0dcc..8bb7787 100644
--- a/embeds/embeds.go
+++ b/embeds/embeds.go
@@ -21,8 +21,10 @@ import (
"sync/atomic"
)
+//go:embed VERSION
+var Version string
+
var (
- Version string = "unknown"
Commit string = "unknown"
BuildDate string = "unknown"
)