mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-03 12:14:06 +09:00
Added version checker on startup
This commit is contained in:
1 parent
0bbf343348
commit
2048e9e136
5 files changed
+32
-6
No files matched your search
@@ -2,7 +2,7 @@
|
||||
version = $(shell ./scripts/version-at-commit.sh)
|
||||
|
||||
build:
|
||||
go build -ldflags "-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.version=$(version)" cmd/headscale/headscale.go
|
||||
go build -ldflags "-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=$(version)" cmd/headscale/headscale.go
|
||||
|
||||
dev: lint test build
|
||||
|
||||
|
||||
Reference in new issue
Block a user