turn github-gitlab sync back on

This commit is contained in:
idk
2022-07-28 14:56:54 -04:00
parent fde25f3ecb
commit b45fc7a7dd
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#! /usr/bin/env sh
nohup run.sh > sync.log 2> sync.err &
nohup ./run.sh > sync.log 2> sync.err &

View File

@ -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

View File

@ -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