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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
ci/release/sign-manifest.sh
CHANGED
|
@@ -21,6 +21,10 @@ if [[ ! -f "$manifest" ]]; then
|
|
| 21 |
exit 1
|
| 22 |
fi
|
| 23 |
if [[ -z "${BITCOIN_ROOTS_GPG_SK:-}" ]]; then
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
printf 'BITCOIN_ROOTS_GPG_SK is not configured; publishing an unsigned manifest\n' >&2
|
| 25 |
exit 0
|
| 26 |
fi
|
|
|
|
| 21 |
exit 1
|
| 22 |
fi
|
| 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
|
| 28 |
printf 'BITCOIN_ROOTS_GPG_SK is not configured; publishing an unsigned manifest\n' >&2
|
| 29 |
exit 0
|
| 30 |
fi
|