Skip to content

Commit 2dfe70c

Browse files
committed
chore: fix binary release
1 parent f7ad731 commit 2dfe70c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
needs: semantic-release
7272
strategy:
73+
fail-fast: false
7374
matrix:
7475
os: [linux, darwin, windows]
7576
steps:

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ docker-push:
130130

131131
.PHONY: compress
132132
compress: .bin/upx
133-
upx -5 ./$(RELEASE_DIR)/$(NAME)_linux_amd64 ./$(RELEASE_DIR)/$(NAME)_linux_arm64
133+
test -e ./$(RELEASE_DIR)/$(NAME)_linux_amd64 && $(UPX) -5 ./$(RELEASE_DIR)/$(NAME)_linux_amd64 || true
134+
test -e ./$(RELEASE_DIR)/$(NAME)_linux_arm64 && $(UPX) -5 ./$(RELEASE_DIR)/$(NAME)_linux_arm64 || true
134135

135136
.PHONY: compress-build
136137
compress-build: .bin/upx

0 commit comments

Comments
 (0)