[ci skip] remove windows support.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
8e6ec1210e
commit
d8b0ee700c
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
OS="darwin linux windows"
|
OS="darwin linux"
|
||||||
ARCH="amd64"
|
ARCH="amd64"
|
||||||
|
|
||||||
for GOOS in $OS; do
|
for GOOS in $OS; do
|
||||||
|
@ -10,5 +10,6 @@ for GOOS in $OS; do
|
||||||
|
|
||||||
echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}"
|
echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}"
|
||||||
GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-w" -o bin/$GOOS/$GOARCH/${EXE} gopush.go;
|
GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-w" -o bin/$GOOS/$GOARCH/${EXE} gopush.go;
|
||||||
|
tar -C bin/$GOOS/$GOARCH -czf bin/gopush-$GOOS-$GOARCH.tar.gz gopush
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue