typo
This commit is contained in:
parent
c6e57c9475
commit
de31b20e72
@ -110,7 +110,7 @@ fi
|
|||||||
# See if repo exits in git
|
# See if repo exits in git
|
||||||
if [ $DEBUG ] ; then echo "check if $REPO_NAME in $ORG_NAME exists on $GITEAHOST" ; fi
|
if [ $DEBUG ] ; then echo "check if $REPO_NAME in $ORG_NAME exists on $GITEAHOST" ; fi
|
||||||
BRANCHES=
|
BRANCHES=
|
||||||
if [ $BRANCH ] ; then $BRANCHES="/branches/${BRANCH#*=}" ; file
|
if [ $BRANCH ] ; then $BRANCHES="/branches/${BRANCH#*=}" ; fi
|
||||||
RESPONSE=$(curl $SILENT -o /dev/null -w "%{http_code}" "$GITEAHOST/api/v1/repos/$ORG_NAME/$REPO_NAME$BRANCHES")
|
RESPONSE=$(curl $SILENT -o /dev/null -w "%{http_code}" "$GITEAHOST/api/v1/repos/$ORG_NAME/$REPO_NAME$BRANCHES")
|
||||||
if [ "$RESPONSE" == "200" ]; then
|
if [ "$RESPONSE" == "200" ]; then
|
||||||
if [ $DEBUG ] ; then echo "Repository for $ORG_NAME/$REPO_NAME exists!" ; fi
|
if [ $DEBUG ] ; then echo "Repository for $ORG_NAME/$REPO_NAME exists!" ; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user