diff --git a/do-release.sh b/do-release.sh index 6a9efcc..2ec2454 100755 --- a/do-release.sh +++ b/do-release.sh @@ -37,17 +37,17 @@ mkdir -p dist export GOOS=linux export CGO_ENABLED=0 -GOARCH=arm GOARM=5 go build -ldflags="$LDFLAGS" cmd/root.go +GOARCH=arm GOARM=5 go build -ldflags="$LDFLAGS" -o dist/dsnet cmd/root.go # upx -q dsnet -mv dsnet dist/dsnet-linux-arm5 +mv dist/dsnet dist/dsnet-linux-arm5 -GOARCH=arm64 go build -ldflags="$LDFLAGS" cmd/root.go +GOARCH=arm64 go build -ldflags="$LDFLAGS" -o dist/dsnet cmd/root.go # upx -q dsnet -mv dsnet dist/dsnet-linux-arm64 +mv dist/dsnet dist/dsnet-linux-arm64 -GOARCH=amd64 go build -ldflags="$LDFLAGS" cmd/root.go +GOARCH=amd64 go build -ldflags="$LDFLAGS" -o dist/dsnet cmd/root.go # upx -q dsnet -mv dsnet dist/dsnet-linux-amd64 +mv dist/dsnet dist/dsnet-linux-amd64 hub release create \ -a dist/dsnet-linux-arm5#"dsnet linux-arm5" \