# Rebuilding with a specific version

**URL:** https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365
**Category:** Support
**Created:** [August 9, 2019, 10:44pm UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365 "2019-08-09T22:44:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [August 9, 2019, 10:44pm UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/1 "2019-08-09T22:44:26Z")

</div>

Context: I’m setting up a staging site and I want to have the same version on staging as production so I can test the next update on staging before applying the update to production.

How do you ask/get launcher to rebuild with a specific version of discourse?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 9, 2019, 11:01pm UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/2 "2019-08-09T23:01:00Z")

</div>

In `app.yml` where it says `version:` you can put a Git commit id or a version ID.

It’s a bit more tricky to keep the plugins all tied to the same commit ID.

---

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [August 9, 2019, 11:03pm UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/3 "2019-08-09T23:03:08Z")

</div>

> [@pfaffman](#):
>
> It’s a bit more tricky to keep the plugins all tied to the same commit ID

Thanks for the heads up 🙂

---

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [August 10, 2019, 1:04am UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/4 "2019-08-10T01:04:23Z")

</div>

> [@csmu](#):
>
> Git commit id or a version ID.

The commit id 6515dc3582309ce58427f57aa1248c3e32877d6e

```plaintext
commit 6515dc3582309ce58427f57aa1248c3e32877d6e
Author: Sam Saffron <sam.saffron@gmail.com>
Date: Tue Jun 18 16:14:38 2019 +1000

    DEV: bump dependencies
    
    - new ImageMagick
    - new NGINX moved to stable from mailine
    - new Redis
    - new PNG Quant
    - updated libjemalloc

```

failed but using version `v2.4.0.beta1` worked!  
Thanks Jay @pfaffman🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 10, 2019, 1:22am UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/5 "2019-08-10T01:22:00Z")

</div>

Hmm. I’m pretty sure that I’ve used a commit id, but the beta tags are likely just as good.

---

<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: [September 9, 2019, 1:22am UTC](https://meta.discourse.org/t/rebuilding-with-a-specific-version/125365/6 "2019-09-09T01:22:01Z")

</div>

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