Skip to content

Commit

Permalink
correct output path
Browse files Browse the repository at this point in the history
  • Loading branch information
naggie committed Sep 13, 2022
1 parent 58d17e8 commit 3e6c842
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions do-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 3e6c842

Please sign in to comment.