bash/deploy.sh in jgd-1.5.3 vs bash/deploy.sh in jgd-1.6

- old
+ new

@@ -11,12 +11,17 @@ git clone "${URL}" "${CLONE}" echo -e "\nRegistering variables:" cd "${CLONE}" USER_EMAIL=$(git config --get user.email | cat) -USER_EMAIL=${USER_EMAIL:-"jgd@teamed.io"} USER_NAME=$(git config --get user.name | cat) -USER_NAME=${USER_NAME:-"jekyll-github-deploy"} +echo "user.name=${USER_NAME}" +echo "user.email=${USER_EMAIL}" +if [ "${USER_EMAIL}" = "" -o "${USER_NAME}" = "" ]; then + echo "user.email or user.name is not configured in Git repository" + echo "see https://help.github.com/articles/setting-your-email-in-git/" + exit -1 +fi VERSION=$(git describe --always --tag) echo -e "\nBuilding Jekyll site:" rm -rf _site