# Version Numbers out-of-sync

**URL:** <https://meta.discourse.org/t/version-numbers-out-of-sync/33152>\
**Category:** Bug\
**Created:** [2015年九月12日 01:14 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152 "2015-09-12T01:14:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KazWolfe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kazwolfe/32/64441_2.png) [@KazWolfe](https://meta.discourse.org/u/KazWolfe)\
**Post date:** [2015年九月12日 01:14 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/1 "2015-09-12T01:14:44Z")

</div>

![](https://global.discourse-cdn.com/meta/original/4X/d/4/d/d4d183c55f0c21a03a2cdde77466f12f6db97c5a.png)

 ![](https://global.discourse-cdn.com/meta/original/4X/4/8/4/4849d9d9d898ebd4fbdbdbcdd02f97bfb77f951f.png)  
This happened again.

**Edit:** Build 336 affected, too.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年九月12日 01:29 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/2 "2015-09-12T01:29:42Z")

</div>

Anything weird here @neil?

---

<div class="post-metadata">

**Author:** ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)\
**Post date:** [2015年九月12日 20:16 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/3 "2015-09-12T20:16:42Z")

</div>

Can confirm für +338 - I just ran the upgrade with 2 incoming commits - but the upgrader seems to be stuck in the beta10?!

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2015年九月13日 00:59 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/4 "2015-09-13T00:59:14Z")

</div>

The [version.rb](https://github.com/discourse/discourse/blob/master/lib/version.rb) file was definitely updated in the repo ([in tests-passed too](https://github.com/discourse/discourse/blob/tests-passed/lib/version.rb)), but still has PRE = ‘beta10’ on installs that were upgraded… How can that happen?

---

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [2015年九月13日 02:31 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/5 "2015-09-13T02:31:26Z")

</div>

It’s due to this:

```plaintext
$ git lg master v1.4.0.beta11

...

* | 9548876 - FIX: Some keyboard commands should not fire when anonymous (3 days ago) <Robin Ward>
* | 5b8917e - Version bump to v1.4.0.beta11 (3 days ago) <Neil Lalonde>
* | 4f890a4 - FIX: automatically load pages of topics list until it fills up the entire screen (3 days ago) <Régis Hanol>
| | * 53435cf - (tag: v1.4.0.beta11) Version bump to v1.4.0.beta11 (3 days ago) <Neil Lalonde>
| |/  
|/|   
* | 3ee5cea - fix the build (4 days ago) <Régis Hanol>
* | 31e8309 - FIX: ensure we never have a string when an enum is Fixnum - Take 2 (4 days ago) <Régis Hanol>

```

The beta tag isn’t included in the master branch, so `git describe` can’t use it…

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2015年九月14日 15:20 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/6 "2015-09-14T15:20:02Z")

</div>

Aha, thanks for spotting that @riking. I moved the tags to the master branch.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年九月14日 19:29 UTC](https://meta.discourse.org/t/version-numbers-out-of-sync/33152/7 "2015-09-14T19:29:37Z")

</div>


