# Specifying version for rebuild?

**URL:** https://meta.discourse.org/t/specifying-version-for-rebuild/33232
**Category:** Support
**Created:** [September 14, 2015, 5:26pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232 "2015-09-14T17:26:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![will\_io](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/will_io/32/147541_2.png) [@will\_io](https://meta.discourse.org/u/will_io)
#### Post date: [September 14, 2015, 5:26pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232/1 "2015-09-14T17:26:35Z")

</div>

How do I specify a particular version of discourse when rebuilding?

---

<div class="post-metadata">

### Author: ![johnmuhl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johnmuhl/32/43413_2.png) [@johnmuhl](https://meta.discourse.org/u/johnmuhl)
#### Post date: [September 14, 2015, 6:46pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232/2 "2015-09-14T18:46:31Z")

</div>

There should be a `version` key in your `app.yml` file.

```plaintext
  #version: tests-passed

```

Remove the `#` and change `test-passed` to the version you want to use; e.g. `beta`. You can find available version strings at [Branches · discourse/discourse · GitHub](https://github.com/discourse/discourse/branches). I think tag names work also; e.g. `v1.4.0.beta11`.

---

<div class="post-metadata">

### Author: ![OnceWas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oncewas/32/40734_2.png) [@OnceWas](https://meta.discourse.org/u/OnceWas)
#### Post date: [September 14, 2015, 7:14pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232/3 "2015-09-14T19:14:06Z")

</div>

We do this on our production server, so that we can choose when to expose any public-facing changes.

In the params: section of your container’s .yml file, add

```
version: v1.4.0.beta10

```

 ![](https://global.discourse-cdn.com/meta/original/3X/3/c/3c71edc5fd0e9cced5c6b75d18950e240dc3109d.png)

---

<div class="post-metadata">

### Author: ![will\_io](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/will_io/32/147541_2.png) [@will\_io](https://meta.discourse.org/u/will_io)
#### Post date: [September 14, 2015, 11:33pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232/4 "2015-09-14T23:33:08Z")

</div>

Hey thank you guys. I am nearing day 45 of Discourse in production but I am constantly changing things. Sometimes the “nightly” builds throw me off in mysterious ways.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 27, 2018, 2:58pm UTC](https://meta.discourse.org/t/specifying-version-for-rebuild/33232/5 "2018-08-27T14:58:55Z")

</div>

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