We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ecf8d commit 6181660Copy full SHA for 6181660
.github/workflows/version.yml
@@ -38,7 +38,14 @@ jobs:
38
- name: Exit prerelease mode
39
# This step errors if it is not in prerelease mode
40
continue-on-error: true
41
- run: pnpm canary:exit
+ run: |
42
+ pnpm canary:exit
43
+ if [ $? -eq 0 ]; then
44
+ git config --global user.name 'github-actions[bot]'
45
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
46
+ git add .changeset/pre.json || true
47
+ git commit -m "chore: exit prerelease mode" || echo "No changes to commit"
48
+ fi
49
- name: Create Release Pull Request
50
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
51
with:
0 commit comments