Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Print Hugo version when installing it
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Mar 11, 2019
1 parent 8c4eaec commit 6323241
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions run-build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ install_dependencies() {
fi

if nvm install $NODE_VERSION
then
then
NODE_VERSION=$(nvm current)
# no echo needed because nvm does that for us
export NODE_VERSION=$NODE_VERSION
Expand Down Expand Up @@ -276,7 +276,7 @@ install_dependencies() {
exit 1
fi
fi

if ! gem list -i "^bundler$" > /dev/null 2>&1
then
if ! gem install bundler
Expand Down Expand Up @@ -440,6 +440,7 @@ install_dependencies() {
if [ $? -eq 0 ]
then
export PATH=$(dirname $hugoOut):$PATH
hugo version
else
echo "Error during Hugo $HUGO_VERSION install: $hugoOut"
exit 1
Expand Down

0 comments on commit 6323241

Please sign in to comment.