v29.4-roots.1 · Commit 1: [PATCH 01/13] build: port platform and dependency support
ci/test/03_test_script.sh
Before: ci/test/03_test_script.sh · After: ci/test/03_test_script.sh
File metadata
index 36f8b9dfc2d185ec1397faea2c0f7521a2dfdae5..663f70c207211927f791dc4a0c17481529f01035 100755
Download original patch · Release notes
Diff rows 1–13 of 13. 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/test/03_test_script.sh
CHANGED
|
@@ -127,6 +127,13 @@ mkdir -p "${BASE_BUILD_DIR}"
|
|
| 127 |
cd "${BASE_BUILD_DIR}"
|
| 128 |
|
| 129 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DENABLE_EXTERNAL_SIGNER=ON -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
|
| 131 |
if [[ "${RUN_TIDY}" == "true" ]]; then
|
| 132 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
|
|
|
|
| 127 |
cd "${BASE_BUILD_DIR}"
|
| 128 |
|
| 129 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DENABLE_EXTERNAL_SIGNER=ON -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR"
|
| 130 |
+
if [[ -n "${RELEASE_TAG:-}" ]]; then
|
| 131 |
+
if [[ ! "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+(\.[0-9]+)?([-+][0-9A-Za-z]+([.-][0-9A-Za-z]+)*)?$ ]]; then
|
| 132 |
+
printf 'Invalid release tag: %s\n' "$RELEASE_TAG" >&2
|
| 133 |
+
exit 1
|
| 134 |
+
fi
|
| 135 |
+
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCLIENT_VERSION_TAG=$RELEASE_TAG"
|
| 136 |
+
fi
|
| 137 |
|
| 138 |
if [[ "${RUN_TIDY}" == "true" ]]; then
|
| 139 |
BITCOIN_CONFIG_ALL="$BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
|