[CI/CD] Create stable branch if it doesn't exist.

This commit is contained in:
Fabio Manganiello 2024-05-26 00:50:02 +02:00
parent d3562f4d20
commit a2ec20bb3a
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -5,7 +5,7 @@
. .drone/macros/configure-gpg.sh . .drone/macros/configure-gpg.sh
# Merge and push to the `stable` branch # Merge and push to the `stable` branch
git checkout stable git checkout stable || git checkout -b stable
git rebase master git rebase master
git push -u origin stable git push -u origin stable
git checkout master git checkout master