summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2019-04-06 22:24:29 +0200
committerChristoph Cullmann <cullmann@kde.org>2019-04-06 22:24:29 +0200
commit9464c61bf21cd0da51fc88b83735fb159ceb9940 (patch)
treeda7dcfe12d1b578a589b098dbb5b20cadadd5894 /update.sh
parentf4239fb5819f5833d5b00f64103b2d510ba302fa (diff)
use hugo-coder theme
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 655f559..881c316 100755
--- a/update.sh
+++ b/update.sh
@@ -9,6 +9,9 @@ git submodule update --recursive --remote
git pull
# rerun hugo generator
+# export the GIT env vars we need to have links in the footer
+export GIT_COMMIT_SHA=`git rev-parse --verify HEAD`
+export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD`
./hugo
# current date