# Setting version w/ Balena Deploy

**URL:** <https://forums.balena.io/t/setting-version-w-balena-deploy/358638>\
**Category:** Product support\
**Created:** [June 8, 2022, 7:41pm UTC](https://forums.balena.io/t/setting-version-w-balena-deploy/358638 "2022-06-08T19:41:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RodrigoM](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/rodrigom/32/5690_2.png) [@RodrigoM](https://forums.balena.io/u/RodrigoM)\
**Post date:** [June 8, 2022, 7:41pm UTC](https://forums.balena.io/t/setting-version-w-balena-deploy/358638/1 "2022-06-08T19:41:12Z")

</div>

Hi guys,

How can we set up this **Version** in releases using `balena deploy`?

 ![Screen Shot 2022-06-08 at 16.39.30](https://global.discourse-cdn.com/balena/original/2X/1/1b27ac67bea716248929dccd1251712d19de72ab.png)

Thanks

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 9, 2022, 10:13am UTC](https://forums.balena.io/t/setting-version-w-balena-deploy/358638/3 "2022-06-09T10:13:54Z")

</div>

Hello @RodrigoM this is a very good question!

The best way to configure the version released is using the `balena.yml` config file. [Deploy with balena button - Balena Documentation](https://www.balena.io/docs/learn/deploy/deploy-with-balena-button/#balenayml-configuration-file)

Let us know if this works 🙂

---

<div class="post-metadata">

**Author:** ![RodrigoM](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/rodrigom/32/5690_2.png) [@RodrigoM](https://forums.balena.io/u/RodrigoM)\
**Post date:** [June 9, 2022, 12:28pm UTC](https://forums.balena.io/t/setting-version-w-balena-deploy/358638/5 "2022-06-09T12:28:06Z")

</div>

Well, that’s not what is expected I think. We use `balena deploy` and `tags` to ship a stack. Right now we are using `tags` to control versions.

---

<div class="post-metadata">

**Author:** ![mpous](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mpous/32/4742_2.png) [@mpous](https://forums.balena.io/u/mpous)\
**Post date:** [June 10, 2022, 12:12pm UTC](https://forums.balena.io/t/setting-version-w-balena-deploy/358638/6 "2022-06-10T12:12:09Z")

</div>

@RodrigoM if you want to set the version of your release, you have to use the `balena.yml` file on your code repository using the `version` field (check [here](https://www.balena.io/docs/learn/deploy/deploy-with-balena-button/#balenayml-configuration-file) an example).

If tags works for you it’s fine! Have in mind that tags are fields that you can use for whatever you preffer. So feel free to still use the tags to deploy and ship your versions, if that works for you.
