projects
/
lightning.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Progress indicator for exportSeq.
[lightning.git]
/
version.sh
1
#!/bin/bash
2
set -e -o pipefail
3
echo -n "0.0.0"
4
echo -n "+$(git log -n1 --format=%h)"
5
if [[ -n "$(git status -s)" || -n "$(git diff)" || -n "$(git diff --cached)" ]]; then
6
echo -n "-$(TZ=UTC date +%Y%m%d%H%M%S)"
7
fi