Change pre_push exit status to 0 #2
.allspice
@ -15,7 +15,4 @@ echo "[ ] Pushing to Git..."
|
||||
git push --no-verify origin git-svn || { echo "Push failed!"; exit 1; }
|
||||
|
||||
echo "[ ] Successfully synced to SVN and pushed to Git!"
|
||||
echo " "
|
||||
echo -e "${GREEN}ignore the following error message ${NC}"
|
||||
echo -e "${GREEN}error: failed to push some refs to https://your allspice server/your organization/your repo.git ${NC}"
|
||||
exit 1
|
||||
exit 0
|
||||
|
@ -200,4 +200,6 @@ curl -L -o $USERPROFILE/allspice/$REPO_NAME/fetch-svn.bat https://hub.allspice.i
|
||||
|
||||
log_header "Finished cloning AllSpice + SVN repos, switching shell to bash" green
|
||||
|
||||
git status
|
||||
|
||||
echo "$USERPROFILE/allspice/$REPO_NAME" > "$USERPROFILE/allspice/latest-repo.txt"
|
Loading…
Reference in New Issue
Block a user