Skip to content

Commit 6aeef28

Browse files
committed
Reduced filesize from 8MB to about 2 MB
1 parent c0eb6d8 commit 6aeef28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ $now = Get-Date -UFormat "%Y-%m-%d_%T"
22
$sha1 = (git rev-parse HEAD).Trim().Substring(0, 8)
33
$version = (git describe --tags $(git rev-list --tags --max-count=1)).Trim()
44

5-
go build -ldflags "-X main.sha1ver=$sha1 -X main.buildTime=$now -X main.semVer=$version -H=windowsgui" -o Kalenderwoche.exe
5+
go build -ldflags "-s -w -X main.sha1ver=$sha1 -X main.buildTime=$now -X main.semVer=$version -H=windowsgui" -o Kalenderwoche.exe
6+
upx .\Kalenderwoche.exe

0 commit comments

Comments
 (0)