Skip to content

Commit a722e45

Browse files
authored
Merge pull request #2771 from xvzf/fix/disable-upx-arm64
fix: disable upx for linux/arm64
2 parents 79fa51d + c47b4cf commit a722e45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hack/build-all.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ upx "${DEVSPACE_ROOT}/release/devspacehelper" #compress devspacehelper
6161
shasum -a 256 "${DEVSPACE_ROOT}/release/devspacehelper" > "${DEVSPACE_ROOT}/release/devspacehelper".sha256
6262

6363
GOARCH=arm64 GOOS=linux go build -ldflags "-s -w -X github.com/loft-sh/devspace/helper/cmd.version=${VERSION}" -o "${DEVSPACE_ROOT}/release/devspacehelper-arm64" helper/main.go
64-
upx "${DEVSPACE_ROOT}/release/devspacehelper-arm64" #compress devspacehelper
64+
# FIXME: this is not working for any number of arguments/flags
65+
# upx "${DEVSPACE_ROOT}/release/devspacehelper-arm64" #compress devspacehelper
6566
shasum -a 256 "${DEVSPACE_ROOT}/release/devspacehelper-arm64" > "${DEVSPACE_ROOT}/release/devspacehelper-arm64".sha256
6667

6768
# build bin data

0 commit comments

Comments
 (0)