Skip to content

Commit

Permalink
update-beats: git add fields updates (#5835) (#5839)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e1dc7b)

Co-authored-by: Andrew Wilkins <[email protected]>
  • Loading branch information
mergify[bot] and axw authored Aug 2, 2021
1 parent aacd45c commit 81d14d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/scripts/update-beats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 81d14d4

Please sign in to comment.