Skip to content

Commit 5f040c2

Browse files
committed
fix(release): check signing key before running release
Make the signing key verification a release prerequisite so production builds fail early and the release target stays consistent with its declared dependencies.
1 parent b6753a9 commit 5f040c2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ dev_release: git_check_dev test
138138
# Production Release
139139
# -----------------------------------------------------------------------------
140140
release: export BUILD_VERSION := $(VERSION)
141-
release: git_check_dev test
142-
$(MAKE) check_signing_key SIGNING_KEY_FPR=$(SIGNING_KEY_FPR)
141+
release: check_signing_key git_check_dev test
143142
@if rclone lsf $(R2_PATH)/$(VERSION)/ 2>/dev/null | grep -q .; then \
144143
echo "Error: Version $(VERSION) already exists in R2"; exit 1; \
145144
fi

0 commit comments

Comments
 (0)