Skip to content

Commit

Permalink
ci: create build dir before running make notice (#12550)
Browse files Browse the repository at this point in the history
* ci: create build dir before running make notice

* fix: move mkdir to make task

* fix: do not fail if folder exists
  • Loading branch information
kruskall authored Feb 5, 2024
1 parent 2023aa0 commit 1c3d5f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ MODULE_DEPS=$(sort $(shell \

notice: NOTICE.txt
NOTICE.txt build/dependencies-$(APM_SERVER_VERSION).csv: go.mod tools/go.mod
mkdir -p build/
$(GO) list -m -json $(MODULE_DEPS) | go run -modfile=tools/go.mod go.elastic.co/go-licence-detector \
-includeIndirect \
-overrides tools/notice/overrides.json \
Expand Down

0 comments on commit 1c3d5f6

Please sign in to comment.