add a specific link to the LICENSES file in the repo

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
This commit is contained in:
Ashley Davis 2021-12-17 15:23:50 +00:00
parent 52bba1dcdb
commit 9efd933c40
No known key found for this signature in database
GPG Key ID: DD14CC017E32BEB1

View File

@ -14,7 +14,7 @@ bin/scratch/license.yaml: hack/boilerplate/boilerplate.sh.txt | bin/scratch
# which presumably nobody will ever read or care about. Instead, just add a little footnote pointing
# to the cert-manager repo in case anybody actually decides that they care.
bin/scratch/license-footnote.yaml: | bin/scratch
@echo -e "# To view licenses for cert-manager dependencies, see the LICENSES file in the\n# cert-manager repo: https://github.com/jetstack/cert-manager" > $@
@echo -e "# To view licenses for cert-manager dependencies, see the LICENSES file in the\n# cert-manager repo: https://github.com/jetstack/cert-manager/blob/$(GITCOMMIT)/LICENSES" > $@
bin/scratch/cert-manager.license: bin/scratch/license.yaml bin/scratch/license-footnote.yaml | bin/scratch
cat $^ > $@