about summary refs log tree commit diff stats
path: root/cmd/server/main.go
diff options
context:
space:
mode:
authorAlan Pearce2024-04-25 02:09:40 +0200
committerAlan Pearce2024-04-25 02:09:40 +0200
commitb27825139e77cd8c527ada7c712f186c94444c04 (patch)
tree9761092548819868f3e06bcf15ef3c373dc00046 /cmd/server/main.go
parentac9646a38aaa39ca9cb7e0aa2efa370e463abaa0 (diff)
downloadwebsite-b27825139e77cd8c527ada7c712f186c94444c04.tar.lz
website-b27825139e77cd8c527ada7c712f186c94444c04.tar.zst
website-b27825139e77cd8c527ada7c712f186c94444c04.zip
brand exe with both long and short commit hashes
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index 9fb9f14..b6817d8 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -11,6 +11,11 @@ import (
 	"github.com/pkg/errors"
 )
 
+var (
+	CommitSHA string
+	ShortSHA  string
+)
+
 type Config struct {
 	Production             bool    `conf:"default:false"`
 	ListenAddress          string  `conf:"default:localhost"`