This commit is contained in:
parent
ba032f41eb
commit
d08dab26dc
1 changed files with 0 additions and 12 deletions
12
push_all.sh
12
push_all.sh
|
|
@ -1,12 +0,0 @@
|
|||
for dir in botapp botserver botlib botui botbook bottest botdevice botmodels botplugin bottemplates .github; do
|
||||
echo "--- Processing $dir ---"
|
||||
cd $dir
|
||||
git add -u
|
||||
git commit -m "update: sync for alm" || true
|
||||
ORIGIN_URL=$(git config --get remote.origin.url)
|
||||
REPO_NAME=$(basename $ORIGIN_URL)
|
||||
git remote remove alm 2>/dev/null || true
|
||||
git remote add alm "https://alm.pragmatismo.com.br/GeneralBots/$REPO_NAME"
|
||||
git push alm HEAD:main || git push alm HEAD:master || echo "Failed to push $dir"
|
||||
cd ..
|
||||
done
|
||||
Loading…
Add table
Reference in a new issue