Skip to content

Commit c1c76ab

Browse files
committed
Revert "chore(workflows): try commiting pre-release exit to avoid it being discarded"
This reverts commit 6181660.
1 parent 6181660 commit c1c76ab

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/version.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,7 @@ jobs:
3838
- name: Exit prerelease mode
3939
# This step errors if it is not in prerelease mode
4040
continue-on-error: true
41-
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
41+
run: pnpm canary:exit
4942
- name: Create Release Pull Request
5043
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc
5144
with:

0 commit comments

Comments
 (0)