summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2019-08-04 12:03:31 +0200
committerChristoph Cullmann <cullmann@kde.org>2019-08-04 12:03:31 +0200
commit457e894d357b15aa7a0eb1e72bb4921cdc591e9c (patch)
tree63d2aff28748acd7c691834fd9a9a11920d3ffc5 /update.sh
parent3f70c0e8745488f5af0b0fdc6f6b3f48679cbec7 (diff)
export git env stuff always
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 849a168..e61bd41 100755
--- a/update.sh
+++ b/update.sh
@@ -6,10 +6,11 @@ set -e
# update our clone
git pull -q &> /dev/null
-# 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`
+
+# rerun hugo generator
./hugo --minify
# copy .htaccess