aboutsummaryrefslogtreecommitdiff
path: root/_scripts/repoinfo
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 18:36:15 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-24 18:36:15 +0100
commit1892bc38d8416a6ec79f37c41a9ffb38b6f44938 (patch)
treeffd211a1718ff2b793179c6fb115faf190e3cdfb /_scripts/repoinfo
parentbe6c61295058e32604e4d18da3689d2675e5bf19 (diff)
minimalize layout
Diffstat (limited to '_scripts/repoinfo')
-rwxr-xr-x_scripts/repoinfo8
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
+