From 8848ad1297a38e97adf09c9213733be56cf61b08 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 28 Apr 2024 17:34:11 +0200 Subject: [PATCH] remove git hacks --- server.sh | 4 ---- update.sh | 4 ---- 2 files changed, 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