Merge pull request #5992 from irbekrm/ensure_bin_exists

Ensure _bin/scratch exists before attempting to update licenses
This commit is contained in:
jetstack-bot 2023-04-26 12:50:30 +01:00 committed by GitHub
commit a33a97f7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ $(BINDIR)/scratch/cert-manager.licenses_notice: $(BINDIR)/scratch/license-footno
# to commit a go.work file to the repository root for reasons given in:
# https://github.com/cert-manager/cert-manager/pull/5935
LICENSES_GO_WORK := $(BINDIR)/scratch/LICENSES.go.work
$(LICENSES_GO_WORK):
$(LICENSES_GO_WORK): $(BINDIR)/scratch
$(MAKE) go-workspace GOWORK=$(abspath $@)
LICENSES $(BINDIR)/scratch/LATEST-LICENSES: export GOWORK=$(abspath $(LICENSES_GO_WORK))