Skip to content

Commit 940752b

Browse files
author
Matthew Fisher
committed
feat(version): add version constant
This utility package is useful for other packages such as deis/deisctl to know what version of deis they are targeting against. [skip ci]
1 parent 32b3aa5 commit 940752b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

docs/contributing/releases.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ github.com/deis/deis Repo
3636
click "Edit".
3737
- Commit and push the deis/deis release and tag
3838
* remove "-dev" from __version__ fields in Python packages
39+
* remove "-dev" from Version constant in version/version.go
3940
* ``git commit -a -m 'Updated for vX.Y.Z release.'``
4041
* ``git push origin release``
4142
* ``git tag vX.Y.Z``
@@ -53,6 +54,7 @@ github.com/deis/deis Repo
5354
- Switch master to upcoming release
5455
* ``git checkout master``
5556
* update __version__ fields in Python packages to *next* version + "-dev"
57+
* update Version constant in version/version.go to *next* version + "-dev"
5658
* ``git commit -a -m 'Switch master to vA.B.C.'`` (**next** version)
5759
* ``git push origin master``
5860

version/version.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
package version
2+
3+
const Version = "0.12.0-dev"

0 commit comments

Comments
 (0)