Add git-update script and upgrade submodule iptubes

This commit is contained in:
poka 2020-03-19 21:37:50 +01:00
parent 55e8c6aacf
commit ef4764c424
3 changed files with 9 additions and 2 deletions

View File

@ -19,7 +19,7 @@ git clone $giturl/axiom-team/astroport.git
cd astroport
[[ $isp2plegalbool == true ]] && sed -i 's/https:\/\/git.p2p.legal/http:\/\/192.168.9.19:3000/g' .gitmodules && echo "Infra p2p.legal detected, switch remotes submodules"
git submodule update --init --recursive
git submodule foreach git pull origin master
source ./git-update.sh
echo "Astroport ready to go!"

7
git-update.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
echo "Updating git submodules ..."
git submodule foreach git pull origin master
echo "Astroport updated!"
exit 0

@ -1 +1 @@
Subproject commit 2d1a73c225ef577d6716adaf56e7f714c702198e
Subproject commit 31f765b160062e81307b332f1a512d17e96f2926