Seems running make set_version VERSION=X.Y.Z
, then make update
in custom beats doesn't update the version number used as part of the template name. It seems to always use the defaultBeatVersion
in vendor/github.com/elastic/beats/libbeat/docs/version.asciidoc
.
I think the problem is here: https://github.com/elastic/beats/blob/c59ff4386e1a3e9ba4663be8b1b546d58b3377e8/libbeat/scripts/Makefile#L353
Not sure how I would get the custom beat version that's written to version.go and version.yml in the custom beat project root from the Makefile... any suggestions?
Cheers,
Ferdinand