From a2ec20bb3ae4879429203d8f153c12ec0e40083e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 26 May 2024 00:50:02 +0200 Subject: [PATCH] [CI/CD] Create `stable` branch if it doesn't exist. --- .drone/sync-stable-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone/sync-stable-branch.sh b/.drone/sync-stable-branch.sh index d230cf3f2..cc8ae9123 100755 --- a/.drone/sync-stable-branch.sh +++ b/.drone/sync-stable-branch.sh @@ -5,7 +5,7 @@ . .drone/macros/configure-gpg.sh # Merge and push to the `stable` branch -git checkout stable +git checkout stable || git checkout -b stable git rebase master git push -u origin stable git checkout master