aboutsummaryrefslogtreecommitdiff
path: root/_scripts
diff options
context:
space:
mode:
Diffstat (limited to '_scripts')
-rwxr-xr-x_scripts/postinfo2
-rwxr-xr-x_scripts/repoinfo8
2 files changed, 10 insertions, 0 deletions
diff --git a/_scripts/postinfo b/_scripts/postinfo
index 95fe872..f31b145 100755
--- a/_scripts/postinfo
+++ b/_scripts/postinfo
@@ -1,4 +1,6 @@
#!/bin/sh
+export LANG=C
+
file="$1"
tab="$(printf '\t')"
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
+