mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Missed a spot! testing verify-licenses.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
parent
f7f1ea6fa2
commit
139c6daf30
@ -62,7 +62,7 @@ go install github.com/google/go-licenses@latest
|
||||
curl -s 'https://spdx.org/licenses/licenses.json' -o "${ARTIFACTS}"/licenses.json
|
||||
|
||||
echo '[INFO] Fetching current list of CNCF approved licenses...'
|
||||
jq -r '.licenses[] | select(.isDeprecatedLicenseId==false) .licenseId' /tmp/licenses.json | sort | uniq > "${ARTIFACTS}"/licenses.txt
|
||||
jq -r '.licenses[] | select(.isDeprecatedLicenseId==false) .licenseId' "${ARTIFACTS}"/licenses.json | sort | uniq > "${ARTIFACTS}"/licenses.txt
|
||||
|
||||
# Scanning go-packages under the project & verifying against the CNCF approved list of licenses
|
||||
echo '[INFO] Starting license scan on go-packages...'
|
||||
|
Loading…
Reference in New Issue
Block a user