diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index faa87e726..9973c9595 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -32,13 +32,13 @@ function run { # if no changes, don't commit if [[ "$CHANGES" == "" ]]; then - ls - echo "-- No changes detected in docs for $VERSION_NAME; docs not updated." + echo "-- No changes detected for the following commit, docs not updated." + echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1" else git config --global user.email "hi@ionicframework.com" git config --global user.name "Ionitron" git add -A - git commit -am "Automated build of platform docs v$VERSION" + git commit -am "Automated build of platform docs $CIRCLE_PROJECT_REPONAME $CIRCLE_SHA1" git push origin master echo "-- Updated docs for $VERSION_NAME succesfully!"