From ca30a5b5ed51736490b66620a05477cbf96f7b23 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Fri, 4 Oct 2024 18:43:23 -0700 Subject: [PATCH] Update set-versioned-branch.sh Attempt to work around https://github.com/MithrilJS/mithril.js/actions/runs/11189351374/job/31109597831 Signed-off-by: Claudia Meadows --- scripts/set-versioned-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set-versioned-branch.sh b/scripts/set-versioned-branch.sh index 75f3b8769..380b9016f 100644 --- a/scripts/set-versioned-branch.sh +++ b/scripts/set-versioned-branch.sh @@ -12,4 +12,4 @@ major=$(node -pe 'require("./package.json").version.replace(/\..*$/,"")') # Can't do a force push due to branch protection rules. git checkout "${base}" git checkout -B "${base}-v${major}" -git push origin "${base}-v${major}" +git push --force origin "${base}-v${major}"