Merge pull request #5992 from irbekrm/ensure_bin_exists
Ensure _bin/scratch exists before attempting to update licenses
This commit is contained in:
commit
a33a97f7a7
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user