# Make set\_version doesn't update ES template version suffix

**URL:** <https://discuss.elastic.co/t/make-set-version-doesnt-update-es-template-version-suffix/140013>\
**Category:** Beats\
**Tags:** beats-development\
**Created:** [July 13, 2018, 10:00pm UTC](https://discuss.elastic.co/t/make-set-version-doesnt-update-es-template-version-suffix/140013 "2018-07-13T22:00:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fholzer](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@fholzer](https://discuss.elastic.co/u/fholzer)\
**Post date:** [July 13, 2018, 10:00pm UTC](https://discuss.elastic.co/t/make-set-version-doesnt-update-es-template-version-suffix/140013/1 "2018-07-13T22:00:55Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![fholzer](https://avatars.discourse-cdn.com/v4/letter/f/3da27b/32.png) [@fholzer](https://discuss.elastic.co/u/fholzer)\
**Post date:** [July 13, 2018, 10:14pm UTC](https://discuss.elastic.co/t/make-set-version-doesnt-update-es-template-version-suffix/140013/2 "2018-07-13T22:14:10Z")

</div>

Sorry, misread the Makefile. This actually works fine. This thread can be closed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 10, 2018, 10:26pm UTC](https://discuss.elastic.co/t/make-set-version-doesnt-update-es-template-version-suffix/140013/3 "2018-08-10T22:26:19Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
