mirror of
https://github.com/superhelio/tools.git
synced 2026-01-26 11:24:06 +00:00
Check for the first commit
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user