Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Disable upx for Windows ARM64 for non-support
Browse files Browse the repository at this point in the history
  • Loading branch information
sky96111 committed Jan 14, 2023
1 parent a5604be commit 7c4dafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ release:
# build for windows_amd64
GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o ${BINARY}_windows_amd64.exe && upx -9 ${BINARY}_windows_amd64.exe
# build for windows_arm64
GOOS=windows GOARCH=arm64 go build -ldflags "-s -w" -o ${BINARY}_windows_arm64.exe && upx -9 ${BINARY}_windows_arm64.exe
GOOS=windows GOARCH=arm64 go build -ldflags "-s -w" -o ${BINARY}_windows_arm64.exe
# build for darwin_amd64
GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o ${BINARY}_darwin_amd64 && upx -9 ${BINARY}_darwin_amd64
# build for darwin_arm64
Expand Down

0 comments on commit 7c4dafb

Please sign in to comment.