mirror of https://github.com/perkeep/perkeep.git
7 lines
147 B
Plaintext
7 lines
147 B
Plaintext
|
#!/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
|
||
|
|