Skip to content

Commit 45eb2d6

Browse files
committed
Release script
1 parent 38939ad commit 45eb2d6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
demon/
2+
demon.zip

mkrelease.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
CGO_ENABLED=0 GOOS=linux go build -o demon/linux_amd64/demon
4+
CGO_ENABLED=0 GOOS=darwin go build -o demon/darwin_amd64/demon
5+
CGO_ENABLED=0 GOOS=windows go build -o demon/windows_amd64/demon.exe
6+
7+
zip -r demon.zip demon

0 commit comments

Comments
 (0)