Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

Commit c683caa

Browse files
committed
Add create release binary shell
1 parent 7a5d4a5 commit c683caa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build_binary.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# build MacOS
4+
GOOS=darwin GOARCH=amd64 go build
5+
zip MacOS.zip ./docui && rm -rf ./docui
6+
7+
# build Linux
8+
GOOS=linux GOARCH=amd64 go build
9+
zip Linux.zip ./docui && rm -rf ./docui
10+

0 commit comments

Comments
 (0)