diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-05-01 20:57:42 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-05-01 21:00:30 +0800 |
commit | 6ca780c12dc8d1257a6a6ab0665f11d00de99fe3 (patch) | |
tree | 37f0bd848ab947330b5902fac88f0fcce9198429 /stylesheets | |
parent | 2013a74b0d3c1733c761254a03108e0606f7e396 (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 'stylesheets')
0 files changed, 0 insertions, 0 deletions