Skip to content

Commit 585b002

Browse files
committed
Switch release back to manual
1 parent 8b1e57b commit 585b002

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
test:
10+
ci:
1111
runs-on: ubuntu-latest
1212

1313
permissions:
@@ -43,10 +43,8 @@ jobs:
4343
- name: Build
4444
run: pnpm run build
4545

46-
- name: Bump version, tag, and create release
46+
- name: Bump version and tag
4747
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
48-
env:
49-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5048
run: |
5149
git config user.name "github-actions[bot]"
5250
git config user.email "github-actions[bot]@users.noreply.github.com"
@@ -60,13 +58,6 @@ jobs:
6058
git commit -m "chore: bump version to $NEW_VERSION [skip ci]"
6159
git tag v$NEW_VERSION
6260
63-
# Push changes and tag
61+
# Push changes and tag (tag push triggers publish workflow)
6462
git push origin main
6563
git push origin v$NEW_VERSION
66-
67-
# Create GitHub release (triggers publish workflow)
68-
gh release create v$NEW_VERSION \
69-
--title "v$NEW_VERSION" \
70-
--generate-notes
71-
72-
echo "Created version $NEW_VERSION and published release"

0 commit comments

Comments
 (0)