blob: d775d97b760ee71d86b015b6e3bf86697942dff5 [file] [log] [blame]
#!/bin/sh
ver=$(git show --pretty=format:'%ad-%h' --abbrev-commit --date=short | head -1)
git diff --exit-code >/dev/null || ver=$ver+
echo $ver