Add license compliance to release archives
All checks were successful
CI / test (pull_request) Successful in 14s

This commit is contained in:
2026-08-13 12:56:31 +09:00
parent b06bd0abcd
commit 4519065a15
6 changed files with 858 additions and 1 deletions

View File

@@ -44,6 +44,13 @@ Build release archives locally:
scripts/build-release.sh
```
Refresh the checked-in third-party notices after changing dependencies:
```sh
scripts/update-third-party-licenses.sh
git diff --exit-code -- THIRD_PARTY_LICENSES.txt
```
## Test Coverage
The current tests cover:
@@ -81,6 +88,9 @@ macOS, and Windows on amd64/arm64, writes `checksums.txt`, creates or reuses a
Gitea Release, and uploads the generated assets. It uses the built-in
`${{ secrets.GITEA_TOKEN }}` provided by Gitea Actions.
Each release archive contains the project `LICENSE` and
`THIRD_PARTY_LICENSES.txt` in addition to the binary and README.
Release binaries receive their tag through the `main.buildVersion` linker
variable. Verify an extracted native binary with `dataxl -version`.