Consolidate dedicated server release notices
Source licenses, attribution, provenance, and font notices from the pinned game checkout while retaining installer compatibility with earlier manifest formats.
This commit is contained in:
parent
0f1d931a7b
commit
220cfd2354
8 changed files with 92 additions and 421 deletions
|
|
@ -38,9 +38,10 @@ done
|
|||
for filename in \
|
||||
GPL-3.0-or-later.txt \
|
||||
ASSET-LICENSE.md \
|
||||
THIRD-PARTY-NOTICES.md \
|
||||
ATTRIBUTION.md \
|
||||
TRADEMARKS.md \
|
||||
CREDITS.md; do
|
||||
Tuffy-LICENSE.txt \
|
||||
Seattle-Avenue-LICENSE.txt; do
|
||||
if [[ ! -f "${dist_dir}/licenses/${filename}" ]]; then
|
||||
echo "Staged build is missing licenses/${filename}." >&2
|
||||
exit 1
|
||||
|
|
@ -50,6 +51,10 @@ if ! grep -Fxq "game_version=${version}" "${dist_dir}/BUILD_INFO"; then
|
|||
echo "Staged BUILD_INFO does not match package version ${version}." >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! grep -Fxq "manifest_version=3" "${dist_dir}/BUILD_INFO"; then
|
||||
echo "Staged BUILD_INFO does not use the current manifest format." >&2
|
||||
exit 1
|
||||
fi
|
||||
packaging_commit="$(
|
||||
awk -F= '$1 == "packaging_commit" {print tolower($2); exit}' \
|
||||
"${dist_dir}/BUILD_INFO"
|
||||
|
|
@ -91,9 +96,10 @@ install -d "${staging_dir}/${package_name}/licenses"
|
|||
for filename in \
|
||||
GPL-3.0-or-later.txt \
|
||||
ASSET-LICENSE.md \
|
||||
THIRD-PARTY-NOTICES.md \
|
||||
ATTRIBUTION.md \
|
||||
TRADEMARKS.md \
|
||||
CREDITS.md; do
|
||||
Tuffy-LICENSE.txt \
|
||||
Seattle-Avenue-LICENSE.txt; do
|
||||
install -m 0644 "${dist_dir}/licenses/${filename}" \
|
||||
"${staging_dir}/${package_name}/licenses/${filename}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue