aboutsummaryrefslogtreecommitdiffstats
path: root/part3intro
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-05-01 20:57:42 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-05-01 21:00:30 +0800
commit6ca780c12dc8d1257a6a6ab0665f11d00de99fe3 (patch)
tree37f0bd848ab947330b5902fac88f0fcce9198429 /part3intro
parent2013a74b0d3c1733c761254a03108e0606f7e396 (diff)
git-version: simplify the versioning scheme
Now the version for trunk head is simply rx.y-z. x.y is the last release, and z is the number of commits after x.y. For other commits, the version is rx.y-z-g{sha}. An abbreviated sha hash is added to distinguish commits with same x, y, and z on different branches. If there are uncommited changes, a "+" is appended to the version, indicating the version is "unclean". To make it works correctly, a tag "rx.y" have to be created on the last commit on trunk of x.y release.
Diffstat (limited to 'part3intro')
0 files changed, 0 insertions, 0 deletions