Check for the first commit

This commit is contained in:
Ismo Vuorinen
2016-08-04 19:11:45 +03:00
parent 5bf9c8fc5f
commit eb4896403a

View File

@@ -41,10 +41,10 @@ ADJUSTMENTS_MSG="${QUESTION_FLAG} ${CYAN}Now you can make adjustments to ${WHITE
PUSHING_MSG="${NOTICE_FLAG} Pushing new version to the ${WHITE}origin${CYAN}..." PUSHING_MSG="${NOTICE_FLAG} Pushing new version to the ${WHITE}origin${CYAN}..."
#if [ ! $LATEST_HASH ]; then if [ ! "$LATEST_HASH" ]; then
# echo -e "${ERROR_FLAG} No commits in the repo. Cannot continue." echo -e "${ERROR_FLAG} No commits in the repo. Cannot continue."
# exit 1 exit 1
#fi fi
# Do we have a file with our version? # Do we have a file with our version?
if [ ! -f $FILE_VERSION ]; then if [ ! -f $FILE_VERSION ]; then