We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c0006 commit 9af113dCopy full SHA for 9af113d
Makefile
@@ -1,9 +1,11 @@
1
+VERSION=$(shell git describe --tags)
2
+
3
all: linux darwin windows
4
-release: all tar
5
+release: all zip
6
7
clean:
- rm -rf bin/*
8
+ rm -rf bin/* *.zip
9
10
upx:
11
upx -9 bin/*
@@ -19,5 +21,5 @@ windows:
19
21
CGO_ENABLE=0 GOOS=windows GOARCH=amd64 go build -o bin/server-windows-amd64.exe -ldflags "-s -w" cmd/server/main.go
20
22
CGO_ENABLE=0 GOOS=windows GOARCH=386 go build -o bin/server-windows-i386.exe -ldflags "-s -w" cmd/server/main.go
23
-tar:
- tar jcvf flutter-webrtc-server-bin.tar.bz2 bin configs web
24
+zip:
25
+ zip -r fws-webrtc-server-bin-${VERSION}.zip bin configs web
0 commit comments