summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-07-09 22:27:35 +0200
committerRuben Pollan <meskio@sindominio.net>2018-07-09 22:27:35 +0200
commit2ac0be0c3f431bdefe99b29ab83f3b3c8bd9ea78 (patch)
treeab6558f8184ebdc4fb662562556435c4e17dd85e /Makefile
parentd34d6257d50608f32d73b5ea53b1efeab1072cd1 (diff)
[pkg] use powershell for the version number
Diffstat (limited to 'Makefile')
-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