# Use "git describe" for version number display

**URL:** <https://meta.discourse.org/t/use-git-describe-for-version-number-display/25587>\
**Category:** Feature\
**Created:** [2월 23, 2015, 10:10오후 UTC](https://meta.discourse.org/t/use-git-describe-for-version-number-display/25587 "2015-02-23T22:10:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<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:** [2월 23, 2015, 10:10오후 UTC](https://meta.discourse.org/t/use-git-describe-for-version-number-display/25587/1 "2015-02-23T22:10:27Z")

</div>

Currently, people on the `tests-passed` branch see in the dashboard that they are running a “beta” version, when that isn’t quite the case.

The `git describe` command has a pretty meaningful output for Discourse:

```plaintext
$ git checkout master
$ git describe
v1.3.0.beta1-47-gca57300
$ git checkout v1.3.0.beta1
$ git describe
v1.3.0.beta1

```

I would like to suggest using the `git describe` output to represent both (a) how long it has been since the beta and (b) if the currently running version of Discourse is carrying unsupported patches (through a sha mismatch and number increment).

---

_[View the full topic](https://meta.discourse.org/t/use-git-describe-for-version-number-display/25587)._
