Commit Graph

4 Commits (d8a53ca7167e7f16dff4b38d4f6ce969819ef225)

Author SHA1 Message Date
Brandon Philips 7670c85d70 feat(server): export ReleaseVersion
releaseVersion is needed in etcd.go to print it out in the -version
flag.
2013-10-16 17:29:53 -07:00
Ben Johnson 8670e1b7aa Refactored. 2013-10-12 15:56:43 -06:00
Brandon Philips ab9c0448c9 fix(version): make the version numbers const
simple fix, thanks to @fmilo in #coreos
2013-08-06 16:03:45 -07:00
Brandon Philips a7deba0f90 feat(version): generate version from git tags
This will generate the version based on git tags. So if it is built
directly on a tag it will use the tag name and if it is built off a
commit that isn't a tag it will look like:

    $ curl localhost:7001
    0-267-ga39cf1c
2013-08-06 15:39:30 -07:00