Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
feat(version): add version constant
Browse files Browse the repository at this point in the history
This utility package is useful for other packages such as deis/deisctl
to know what version of deis they are targeting against.

[skip ci]
  • Loading branch information
Matthew Fisher committed Sep 10, 2014
1 parent 32b3aa5 commit 940752b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/contributing/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ github.com/deis/deis Repo
click "Edit".
- Commit and push the deis/deis release and tag
* remove "-dev" from __version__ fields in Python packages
* remove "-dev" from Version constant in version/version.go
* ``git commit -a -m 'Updated for vX.Y.Z release.'``
* ``git push origin release``
* ``git tag vX.Y.Z``
Expand All @@ -53,6 +54,7 @@ github.com/deis/deis Repo
- Switch master to upcoming release
* ``git checkout master``
* update __version__ fields in Python packages to *next* version + "-dev"
* update Version constant in version/version.go to *next* version + "-dev"
* ``git commit -a -m 'Switch master to vA.B.C.'`` (**next** version)
* ``git push origin master``

Expand Down
3 changes: 3 additions & 0 deletions version/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package version

const Version = "0.12.0-dev"

0 comments on commit 940752b

Please sign in to comment.