diff options
author | Zachary Hueras <zhueras@chitika.com> | 2015-09-21 11:36:36 -0400 |
---|---|---|
committer | Zachary Hueras <zhueras@chitika.com> | 2015-09-21 11:36:36 -0400 |
commit | 2fa68051ef773784c70ea94c365114a2472ff238 (patch) | |
tree | 5da03eb9bee0a516b8a4b40ce94ad6283981a88f /src/rebar_digraph.erl | |
parent | a70c1baf79d94f0e992673e886995a7bd48795a2 (diff) |
Improve semantic versioning from git between tags
In the scenario we that we have selected a commit
that is between two tags, we should base the
version on the most recent tag we can see in the
revision history, but we should not treat this as
the tag version.
`git describe --tags --abbrev=0` finds the most
recent tag visible in the revision history from
the current HEAD. Return this as the version
string and undefined as the tag to trigger ref
counting.
Diffstat (limited to 'src/rebar_digraph.erl')
0 files changed, 0 insertions, 0 deletions