Skip to content

Commit

Permalink
chore(ci): Update release workflow with version sync script
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jumski committed Feb 21, 2025
1 parent 98640b4 commit d85b37f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit d85b37f

Please sign in to comment.