Skip to content

Commit 7150119

Browse files
authored
Fetch before pushing release branch (#676)
1 parent f71673b commit 7150119

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
git tag "$VERSION"
116116
git push origin "$VERSION"
117117
fi
118+
git fetch origin "$BRANCH" 2>/dev/null || true
118119
git push origin "$BRANCH" --force-with-lease
119120
120121
- name: Create PR to merge version bump back to main

0 commit comments

Comments
 (0)