Skip to content
Snippets Groups Projects
Verified Commit 2ac0be0c authored by meskio's avatar meskio :tent:
Browse files

[pkg] use powershell for the version number

parent d34d6257
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ standalone: ...@@ -17,7 +17,7 @@ standalone:
go build -tags "$(TAGS) standalone" -ldflags "-X main.version=`git describe --tags`" go build -tags "$(TAGS) standalone" -ldflags "-X main.version=`git describe --tags`"
build_win: 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: clean:
make -C icon clean make -C icon clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment