mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 14:32:13 +08:00
git-version: Use "-wip" as the version suffix instead of "+" for changes not committed yet
It's not allowed to use "+" in XHTML id attributes etc.
This commit is contained in:
parent
9c69661841
commit
ef6cb752ed
@ -48,7 +48,7 @@ sha="$(git describe --abbrev=1)"
|
||||
version=$(echo "$sha" | sed 's/-g[^-]*$//')
|
||||
|
||||
if [ "$(git diff HEAD | wc -l)" != "0" ]; then
|
||||
version="$version+"
|
||||
version="$version-wip"
|
||||
fi
|
||||
|
||||
echo "<!ENTITY year \"$year\">" > version.ent
|
||||
|
Loading…
Reference in New Issue
Block a user