diff --git a/git_sync/background.sh b/git_sync/background.sh index 5909a36..0b7c534 100755 --- a/git_sync/background.sh +++ b/git_sync/background.sh @@ -1,3 +1,3 @@ #! /usr/bin/env sh -nohup run.sh > sync.log 2> sync.err & \ No newline at end of file +nohup ./run.sh > sync.log 2> sync.err & diff --git a/git_sync/clone-org.sh b/git_sync/clone-org.sh index 81659f3..b6d8cf6 100755 --- a/git_sync/clone-org.sh +++ b/git_sync/clone-org.sh @@ -5,6 +5,7 @@ URLLIST=`./list-org-cloneurls.sh` HERE=$(pwd) for URL in $URLLIST; do + echo $URL BASEURL=$(echo $URL | sed "s|github.com:$ORG|i2pgit.org:i2p-hackers|g" | sed 's|i2p\.plugins\.i2psnark-rpc|i2psnark-rpc|g') CLONEDIR=$(echo $URL | sed "s|git@github.com:$ORG/||g" | sed 's|.git||g') if [ ! -d $CLONEDIR ]; then diff --git a/git_sync/sync-org.sh b/git_sync/sync-org.sh index 27b4ae6..92d159d 100755 --- a/git_sync/sync-org.sh +++ b/git_sync/sync-org.sh @@ -45,6 +45,11 @@ for URL in $URLLIST; do echo "Pushing tags for $CLONEDIR... attempt $d" git push github --tags && break done + for d in $DO; do + # push all the tags + echo "Pushing tags for $CLONEDIR... attempt $d" + git push --all && break + done echo "Returning home" cd "$HERE" fi