Skip to content

Commit 25d236e

Browse files
mzfrmzfr
authored andcommitted
A simple script for all the release
1 parent 22bd884 commit 25d236e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

release.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
env GOOS=windows GOARCH=amd64 go build
4+
tar -cf slicer-windows-amd64.tar slicer.exe LICENSE readme.md config.yml
5+
6+
rm slicer.exe
7+
8+
env GOOS=darwin GOARCH=amd64 go build
9+
tar -cf slicer-darwin-amd64.tar slicer LICENSE readme.md config.yml
10+
11+
rm slicer
12+
13+
go build
14+
tar -cf slicer-linux.tar slicer LICENSE readme.md config.yml
15+
16+
rm slicer
17+
18+

0 commit comments

Comments
 (0)