fix: rebase before pushing version bump to avoid race with CI

This commit is contained in:
Ryan Moon
2026-04-01 21:52:37 -05:00
parent 9c8ceba461
commit ddabcf19d1

View File

@@ -52,6 +52,7 @@ jobs:
git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@git.lunarfront.tech/ryan/lunarfront-app.git git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@git.lunarfront.tech/ryan/lunarfront-app.git
git add packages/backend/package.json git add packages/backend/package.json
git commit -m "chore: bump version to v${{ steps.version.outputs.version }}" git commit -m "chore: bump version to v${{ steps.version.outputs.version }}"
git pull --rebase origin main
git push origin main git push origin main
- name: Install Docker CLI - name: Install Docker CLI