Skip to content

Commit 805133a

Browse files
committed
chore: tes new script changes
1 parent fe969ac commit 805133a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/stable-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
BRANCH_NAME="stable-main-${{ inputs.semver-version }}"
5959
if git ls-remote --heads origin "$BRANCH_NAME" | grep -q "$BRANCH_NAME"; then
6060
echo "Branch $BRANCH_NAME exists remotely, pushing normally"
61-
git pull && git push origin "$BRANCH_NAME"
61+
git push origin "$BRANCH_NAME" --force
6262
else
6363
echo "Branch $BRANCH_NAME doesn't exist remotely, pushing with --set-upstream"
6464
git push --set-upstream origin "$BRANCH_NAME"

0 commit comments

Comments
 (0)