# Beta or Stable branch?

**URL:** <https://meta.discourse.org/t/beta-or-stable-branch/67775>\
**Category:** Product Support\
**Created:** [August 10, 2017, 12:08pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775 "2017-08-10T12:08:31Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

When upgrading Discourse using the `git pull` and `./launcher rebuild app` commands, the branch that will be upgraded depends on the branch specified in the `app.yml` file. By default, a custom install of Discourse uses the `tests-passed` branch, not the beta or stable branch. To verify the current branch, users can check their `app.yml` file or run the command `cd /var/discourse && git branch` to check the `discourse_docker` branch, or `/var/discourse/launcher enter app` followed by `git branch` to check the Discourse branch, as noted by [david](/t/-/67775/4) and [martinduparc](/t/-/67775/3).

<div class="post-metadata">

**Author:** ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)\
**Post date:** [August 10, 2017, 12:08pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/1 "2017-08-10T12:08:31Z")

</div>

Continuing the discussion from [Discourse Canned Replies](https://meta.discourse.org/t/discourse-canned-replies/48296/89), where SAM said:

> [@Discourse Canned Replies](https://meta.discourse.org/t/discourse-canned-replies/48296/89):
>
> (…) with the stable branch of discourse

I have a doubt with the upgrade ssh code:

```plaintext
cd /var/discourse
git pull
./launcher rebuild app

```

When you do that, what version of discourse will be upgraded?  
I mean, beta branch or stable branch?

---

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [August 10, 2017, 1:41pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/2 "2017-08-10T13:41:50Z")

</div>

Depends on which branch your `app.yml` says to use.

---

<div class="post-metadata">

**Author:** ![martinduparc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martinduparc/32/115526_2.png) [@martinduparc](https://meta.discourse.org/u/martinduparc)\
**Post date:** [August 10, 2017, 2:15pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/3 "2017-08-10T14:15:41Z")

</div>

I think that by default, a custom install of Discourse uses the beta branch.

Also, `cd /var/discourse && git branch` will tell you the current branch.

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [August 10, 2017, 2:46pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/4 "2017-08-10T14:46:38Z")

</div>

According to the repo, the default version is tests-passed

> <https://github.com/discourse/discourse_docker/blob/master/samples/standalone.yml#L37>

> [@martinduparc](#):
>
> Also, cd /var/discourse && git branch will tell you the current branch

That will tell you the current branch of `discourse_docker`. To get the current branch of discourse you want

```sh
/var/discourse/launcher enter app
git branch

```

But, as said above, the easiest way is to check your own app.yml file

---

<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:** [July 29, 2019, 10:09pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/5 "2019-07-29T22:09:31Z")

</div>

Automatically bumped on July 29, 2019, 10:09pm UTC



---

<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 28, 2019, 10:09pm UTC](https://meta.discourse.org/t/beta-or-stable-branch/67775/6 "2019-08-28T22:09:57Z")

</div>

Closed on August 28, 2019, 10:09pm UTC

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