From d85b37fa9e2362c738607b2a34111422399c12d5 Mon Sep 17 00:00:00 2001 From: Wojtek Majewski Date: Fri, 21 Feb 2025 16:42:43 +0100 Subject: [PATCH] chore(ci): Update release workflow with version sync script Enhance release process by adding version synchronization steps - Modify release workflow to run changeset version - Add script execution to sync versions across project files - Ensure jsr.json files are automatically updated and committed --- .github/workflows/release.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a3b7281..2bf2568 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,6 +38,12 @@ jobs: - name: Create Release Pull Request uses: changesets/action@v1 with: - title: 'Release: Update Package Versions $(date +%Y-%m-%d) (${{ github.run_number }})' + title: 'Release: Update Package Versions' + version: | + pnpm changeset version + chmod +x scripts/sync-versions + ./scripts/sync-versions + git add "**/jsr.json" + git commit --amend --no-edit env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}