Commit aea46ed
committed
gitversion: support forks/RCs/dirty Git versions
Enhance the GitVersion type to be aware of different forks of Git
including Git for Windows, Microsoft, and Apple.
Also add support for release candidates found in the version string -
these can appear as either a -rcN or .rcN format depending on if this is
a tag or a build version. We support both types.
Finally also capture the Commit ID from a dirty build version, i.e,
<major>.<minor>.<patch>.g<sha>
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>1 parent d31f62c commit aea46ed
File tree
5 files changed
+1436
-99
lines changed5 files changed
+1436
-99
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
0 commit comments