summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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