diff options
author | Xi Ruoyao <xry111@xry111.site> | 2024-01-19 12:23:30 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2024-01-19 12:23:30 +0800 |
commit | fd02389a5134ac5895107ed293e1d361b2caa91f (patch) | |
tree | 4f094a5e0608745ecc128348f6c660ca44e540e6 | |
parent | 8f7d945a664c0974e0d8611a00a11b6c12974f95 (diff) |
git-version: Use "-wip" as the version suffix instead of "+" for changes not committed yet
It's not allowed to use "+" in id attributes etc.
-rwxr-xr-x | git-version.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-version.sh b/git-version.sh index 5d8d32e5d..09a8fadd7 100755 --- a/git-version.sh +++ b/git-version.sh @@ -57,8 +57,8 @@ version="$rev" versiond="$rev-systemd" if [ "$(git diff HEAD | wc -l)" != "0" ]; then - version="$version+" - versiond="$versiond+" + version="$version-wip" + versiond="$versiond-wip" fi echo "<![ %sysv; [" > version.ent |