v30.3-roots.1 · Commit 61: [PATCH 61/68] fix(release): assemble platform-specific license notices
ci/release/prepare-release.sh
Before: ci/release/prepare-release.sh · After: ci/release/prepare-release.sh
File metadata
index 782832f4099d78b2edc19bf366629e9ad4eace0e..e3a88eab5b24149c92669d412cdb31446f4cccab 100755
Download original patch · Release notes
Diff rows 1–20 of 20. 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/prepare-release.sh
CHANGED
|
@@ -80,7 +80,19 @@ package_names[$patch_name]=1
|
|
| 80 |
archive_root="$(RELEASE_TAG="$release_name" python3 "$archive_tool" root-name)"
|
| 81 |
for package_path in "${package_paths[@]}"; do
|
| 82 |
package_name=${package_path##*/}
|
| 83 |
-
python3 "$archive_tool" validate "$package_path" "$archive_root"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
cp -- "$package_path" "$output_dir/$package_name"
|
| 85 |
done
|
| 86 |
cp -- "$patch_path" "$output_dir/$patch_name"
|
|
|
|
| 80 |
archive_root="$(RELEASE_TAG="$release_name" python3 "$archive_tool" root-name)"
|
| 81 |
for package_path in "${package_paths[@]}"; do
|
| 82 |
package_name=${package_path##*/}
|
| 83 |
+
python3 "$archive_tool" validate "$package_path" "$archive_root" --copying "$script_dir/../../COPYING"
|
| 84 |
+
case "$package_name" in
|
| 85 |
+
bitcoin-roots-linux-x86_64.tar.gz) platform=linux-x86_64 ;;
|
| 86 |
+
bitcoin-roots-linux-aarch64.tar.gz) platform=linux-aarch64 ;;
|
| 87 |
+
bitcoin-roots-darwin-x86_64.zip) platform=darwin-x86_64 ;;
|
| 88 |
+
bitcoin-roots-darwin-arm64.zip) platform=darwin-arm64 ;;
|
| 89 |
+
bitcoin-roots-windows-x86_64.zip) platform=windows-x86_64 ;;
|
| 90 |
+
*) printf 'Unknown release package platform: %s\n' "$package_name" >&2; exit 1 ;;
|
| 91 |
+
esac
|
| 92 |
+
python3 "$script_dir/notices.py" validate "$package_path" "$archive_root" "$platform"
|
| 93 |
+
done
|
| 94 |
+
for package_path in "${package_paths[@]}"; do
|
| 95 |
+
package_name=${package_path##*/}
|
| 96 |
cp -- "$package_path" "$output_dir/$package_name"
|
| 97 |
done
|
| 98 |
cp -- "$patch_path" "$output_dir/$patch_name"
|