Handle the branch dance
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c274ddc4e1
commit
d9ede0ea0d
@ -36,6 +36,9 @@ run_abra_cmd() {
|
||||
cd "/root/.abra/apps/$recipe" && \
|
||||
git remote rm origin && \
|
||||
git remote add origin "ssh://git@git.autonomic.zone:2222/coop-cloud/$recipe.git"
|
||||
|
||||
git checkout main && git push --set-upstream origin main > /dev/null 2>&1 || \
|
||||
git checkout master && git push --set-upstream origin master > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
|
Loading…
x
Reference in New Issue
Block a user