diff options
Diffstat (limited to '_scripts/repoinfo')
-rwxr-xr-x | _scripts/repoinfo | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/_scripts/repoinfo b/_scripts/repoinfo new file mode 100755 index 0000000..b413e6e --- /dev/null +++ b/_scripts/repoinfo @@ -0,0 +1,8 @@ +#!/bin/sh +export LANG=C +cat << EOF +commit: $(git rev-parse HEAD) +slug: $(git describe --always --dirty='*' --abbrev) +build_date: $(date -Idate) +EOF + |