From 25105f5820f90349991f5666b4309f0613e971df Mon Sep 17 00:00:00 2001 From: Andrew Wilkins Date: Fri, 30 Jul 2021 15:47:30 +0800 Subject: [PATCH] update-beats: git add fields updates --- .ci/scripts/update-beats.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/scripts/update-beats.sh b/.ci/scripts/update-beats.sh index 6d8b8d05912..326781570e3 100755 --- a/.ci/scripts/update-beats.sh +++ b/.ci/scripts/update-beats.sh @@ -9,7 +9,9 @@ make update-beats COMMIT_MESSAGE="Update to elastic/beats@$(go list -m -f {{.Version}} github.com/elastic/beats/... | cut -d- -f3)" git checkout -b "update-beats-$(date "+%Y%m%d%H%M%S")" -git add go.mod go.sum NOTICE.txt .go-version docs/version.asciidoc +git add go.mod go.sum NOTICE.txt \ + .go-version docs/version.asciidoc \ + docs/fields.asciidoc include/fields.go x-pack/apm-server/include/fields.go find . -maxdepth 2 -name Dockerfile -exec git add {} \; git diff --staged --quiet || git commit -m "$COMMIT_MESSAGE"