aboutsummaryrefslogtreecommitdiffstats
path: root/git-version.sh
Commit message (Collapse)AuthorAgeFilesLines
* Add a conditional entity for sysv/systemdPierre Labastie2021-09-221-4/+26
| | | | | This removes the need for versiond, and other xxxd entities. Those entities will be removed in the next commits.
* git-version: fix trunk branch detectionXi Ruoyao2021-05-021-1/+1
|
* git-version: simplify the versioning schemeXi Ruoyao2021-05-011-6/+8
| | | | | | | | | | | | | | | 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.
* Quiet git status check. Make sed more readable.Bruce Dubbs2021-04-061-2/+2
|
* remove leading zero for dayXi Ruoyao2021-04-071-1/+1
|
* automatically generate version info from git HEADXi Ruoyao2021-04-071-0/+45