From b27825139e77cd8c527ada7c712f186c94444c04 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 25 Apr 2024 02:09:40 +0200 Subject: brand exe with both long and short commit hashes --- cmd/server/main.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmd/server/main.go') 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"` -- cgit 1.4.1