mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 13:19:26 +08:00
Credit the GL renderer's and the page's upstreams, and ship their notices in THIRD-PARTY.md: in the npm package, the release assets and the page's /licenses.md
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -396,7 +396,8 @@ jobs:
|
||||
# The release's assets: the npm tarball (the base bundle and no distro
|
||||
# image: the SDK downloads those by the tag), unkernel.wasm, distros.json,
|
||||
# the images it names (not the .ext4, .tar or .id files next to them) and
|
||||
# the GL renderer for the page (virgl.mjs, virgl.wasm).
|
||||
# the GL renderer for the page (virgl.mjs, virgl.wasm), and the
|
||||
# third-party notices those carry (THIRD-PARTY.md).
|
||||
- name: Pack
|
||||
run: |
|
||||
mkdir -p out
|
||||
@@ -412,7 +413,7 @@ jobs:
|
||||
echo "::error::the npm package is $size bytes (more than 20 MB)"
|
||||
exit 1
|
||||
fi
|
||||
cp vendor/build/bundle/unkernel.wasm vendor/build/distro/distros.json vendor/build/gl-wasm/virgl.mjs vendor/build/gl-wasm/virgl.wasm out/
|
||||
cp vendor/build/bundle/unkernel.wasm vendor/build/distro/distros.json vendor/build/gl-wasm/virgl.mjs vendor/build/gl-wasm/virgl.wasm THIRD-PARTY.md out/
|
||||
for f in $(node -p 'JSON.parse(require("node:fs").readFileSync("vendor/build/distro/distros.json", "utf8")).distros.map((d) => d.file).join(" ")'); do
|
||||
cp "vendor/build/distro/$f" out/
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user