diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-07-09 22:27:35 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-07-09 22:27:35 +0200 |
commit | 2ac0be0c3f431bdefe99b29ab83f3b3c8bd9ea78 (patch) | |
tree | ab6558f8184ebdc4fb662562556435c4e17dd85e | |
parent | d34d6257d50608f32d73b5ea53b1efeab1072cd1 (diff) |
[pkg] use powershell for the version number
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |