summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:34:11 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:34:11 +0200
commit8848ad1297a38e97adf09c9213733be56cf61b08 (patch)
treea798e6279505aedd2931a02431102d99859d5c66
parente77051ccc4b47951bfa4fde2be436b1bb2fb113b (diff)
remove git hacks
-rwxr-xr-xserver.sh4
-rwxr-xr-xupdate.sh4
2 files changed, 0 insertions, 8 deletions
diff --git a/server.sh b/server.sh
index 0cf1a26..4edf3bf 100755
--- a/server.sh
+++ b/server.sh
@@ -3,9 +3,5 @@
# failures are evil
set -e
-# 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`
-
# run hugo in local server mode, show all stuff
exec hugo server -D --buildFuture
diff --git a/update.sh b/update.sh
index f111fd5..7fc1b04 100755
--- a/update.sh
+++ b/update.sh
@@ -6,10 +6,6 @@ set -e
# update our clone
git pull -q &> /dev/null
-# 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`
-
# rerun hugo generator
hugo --minify --noTimes