From 2ac0be0c3f431bdefe99b29ab83f3b3c8bd9ea78 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 9 Jul 2018 22:27:35 +0200 Subject: [pkg] use powershell for the version number --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3454232..1b59f98 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ standalone: go build -tags "$(TAGS) standalone" -ldflags "-X main.version=`git describe --tags`" build_win: - go build -tags "standalone" -ldflags "-H windowsgui" + powershell -Command '$$version=git describe --tags; go build -tags "standalone" -ldflags "-H windowsgui -X main.version=$$version"' clean: make -C icon clean -- cgit v1.2.3