Skip to content

Commit

Permalink
build: fix notice dependencies target (#15253)
Browse files Browse the repository at this point in the history
7.17 does not have a per-version file
use correct filename to keep compatibility with previous
python task
  • Loading branch information
kruskall authored Jan 15, 2025
1 parent b89a133 commit 19da9ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ MODULE_DEPS=$(sort $(shell \
go list -deps -tags=darwin,linux,windows -f "{{with .Module}}{{if not .Main}}{{.Path}}{{end}}{{end}}" ./x-pack/apm-server))

notice: NOTICE.txt
NOTICE.txt build/dependencies-$(APM_SERVER_VERSION).csv: go.mod tools/go.mod
NOTICE.txt build/dependencies.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 \
Expand All @@ -152,7 +152,7 @@ NOTICE.txt build/dependencies-$(APM_SERVER_VERSION).csv: go.mod tools/go.mod
-noticeTemplate tools/notice/NOTICE.txt.tmpl \
-noticeOut NOTICE.txt \
-depsTemplate tools/notice/dependencies.csv.tmpl \
-depsOut build/dependencies-$(APM_SERVER_VERSION).csv
-depsOut build/dependencies.csv


.PHONY: add-headers
Expand Down

0 comments on commit 19da9ec

Please sign in to comment.