Skip to content
Commit eea8fdc2 authored by Andrew Price's avatar Andrew Price
Browse files

Simplify version numbering using git tags

As we're determined to use git for providing version numbers we might as
well do it the right way. Take all of the version information from git
describe. This assumes that at least one annotated tag exists in the
branch relating to a release. The tag will be created using

$ git tag -a -m "Version 2.18" 2.18

so git describe will give us versions like 2.18-123-gf00baa which has
better ordering properties than the current 2.18-gf00baa scheme, which
is important for package upgrades. When HEAD matches the tag exactly, it
will just give 2.18
parent de9c285b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment