Skip to content

Commit 2f7b676

Browse files
committed
chore: add git pull --rebase before version bump in release workflow
1 parent f8038f7 commit 2f7b676

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
cd ..
101101
git config user.name "github-actions[bot]"
102102
git config user.email "github-actions[bot]@users.noreply.github.com"
103+
git pull --rebase origin main
103104
git add cli/extension.yaml cli/CHANGELOG.md
104105
git commit -m "chore: bump version to $VERSION"
105106
git push

0 commit comments

Comments
 (0)