v30.3-roots.1 · Commit 63: [PATCH 63/68] fix(release): restore signed five-platform CI releases
ci/release/sign-manifest.sh
Before: ci/release/sign-manifest.sh · After: ci/release/sign-manifest.sh
File metadata
index 63c411e8460a5f1a317f247fe692d4a740990712..5eb34cbb49805e1ade68a3469d24d902e2f79347 100755
Download original patch · Release notes
Diff rows 1–10 of 10. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
ci/release/sign-manifest.sh
CHANGED
|
@@ -21,6 +21,10 @@ if [[ ! -f "$manifest" ]]; then
|
|
|
21
21
|
exit 1
|
|
22
22
|
fi
|
|
23
23
|
if [[ -z "${BITCOIN_ROOTS_GPG_SK:-}" ]]; then
|
|
24
|
+
if [[ "${REQUIRE_RELEASE_SIGNATURE:-0}" == 1 ]]; then
|
|
25
|
+
printf 'Required release signing key is not configured\n' >&2
|
|
26
|
+
exit 1
|
|
27
|
+
fi
|
|
24
28
|
printf 'BITCOIN_ROOTS_GPG_SK is not configured; publishing an unsigned manifest\n' >&2
|
|
25
29
|
exit 0
|
|
26
30
|
fi
|