File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,27 @@ buildByDocker() {
28
28
29
29
gover=latest
30
30
builds=(' linux 386' ' linux amd64' ' linux arm' ' linux arm64' ' windows 386' ' windows amd64' ' windows arm' ' darwin 386' ' darwin amd64' )
31
- builds=(" ${builds[@]} " ' freebsd 386' ' freebsd amd64' ' freebsd arm' )
31
+ builds=(" ${builds[@]} " ' freebsd 386' ' freebsd amd64' ' freebsd arm' ' freebsd arm64 ' )
32
32
builds=(" ${builds[@]} " ' openbsd 386' ' openbsd amd64' ' openbsd arm' ' openbsd arm64' )
33
33
builds=(" ${builds[@]} " ' netbsd 386' ' netbsd amd64' ' netbsd arm' ' netbsd arm64' )
34
34
builds=(" ${builds[@]} " ' plan9 386' ' plan9 amd64' ' plan9 arm' )
35
35
buildByDocker " $gover " " ${builds[@]} "
36
36
37
+ # gover=1.9
38
+ # builds=('freebsd 386 -9.x' 'freebsd amd64 -9.x' 'freebsd arm -9.x')
39
+ # buildByDocker "$gover" "${builds[@]}"
40
+
37
41
gover=1.10
38
42
builds=(' windows 386 -xp-vista' ' windows amd64 -xp-vista' )
43
+ # builds=("${builds[@]}" 'darwin 386 -10.8-mountain_lion' 'darwin amd64 -10.8-mountain_lion')
44
+ # builds=("${builds[@]}" 'openbsd 386 -6.0' 'openbsd amd64 -6.0' 'openbsd arm -6.0')
39
45
buildByDocker " $gover " " ${builds[@]} "
46
+
47
+ # gover=1.12
48
+ # builds=('darwin 386 -10.10-yosemite' 'darwin amd64 -10.10-yosemite')
49
+ # builds=("${builds[@]}" 'freebsd 386 -10.x' 'freebsd amd64 -10.x' 'freebsd arm -9.x')
50
+ # buildByDocker "$gover" "${builds[@]}"
51
+
52
+ # gover=1.14
53
+ # builds=('darwin 386 -10.11-el_capitan' 'darwin amd64 -10.11-el_capitan')
54
+ # buildByDocker "$gover" "${builds[@]}"
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ for build in "$@"; do
22
22
BIN=" ${BIN} .exe"
23
23
fi ;
24
24
rm -f " $BIN "
25
- echo " Building: $GOOS $GOARCH "
25
+ echo " Building: $GOOS$OS_SUFFIX $GOARCH "
26
26
go build -ldflags " $LDFLAGS " -o " $BIN " ../src/main.go
27
27
28
28
OUT=" $OUTDIR " /" $MAINNAME " -" $VERSION " -" $GOOS " " $OS_SUFFIX " -" $GOARCH " .zip
You can’t perform that action at this time.
0 commit comments