-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·36 lines (34 loc) · 978 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
#INK_VERSION="v0.6.0"
#
#env GOOS=linux GOARCH=amd64 go build .
#mv ink archives/linux-amd64/ink
#
#
#env GOOS=darwin GOARCH=amd64 go build .
#mv ink archives/macOS-amd64/ink
#
#
#env GOOS=windows GOARCH=386 go build .
#mv ink.exe archives/windows-386/ink.exe
#
#
#env GOOS=windows GOARCH=amd64 go build .
#mv ink.exe archives/windows-amd64/ink.exe
#
#cd archives || exit
#
#zip -r "ink-${INK_VERSION}-linux-amd64.zip" linux-amd64 -x "*.DS_Store"
#zip -r "ink-${INK_VERSION}-macOS-amd64.zip" macOS-amd64 -x "*.DS_Store"
#zip -r "ink-${INK_VERSION}-windows-386.zip" windows-386 -x "*.DS_Store"
#zip -r "ink-${INK_VERSION}-windows-amd64.zip" windows-amd64 -x "*.DS_Store"
#
#hsh sha256 "ink-${INK_VERSION}-linux-amd64.zip"
#echo " "
#hsh sha256 "ink-${INK_VERSION}-macOS-amd64.zip"
#echo " "
#hsh sha256 "ink-${INK_VERSION}-windows-386.zip"
#echo " "
#hsh sha256 "ink-${INK_VERSION}-windows-amd64.zip"
export GITHUB_TOKEN="$GORELEASE_GITHUB_TOKEN"
goreleaser --rm-dist