Skip to content

Commit 4f99936

Browse files
fix release pipeline
1 parent 84cdd97 commit 4f99936

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/release.yml

-15
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ on:
1616
description: 'NPM tag (e.g. use "next" to release a test version)'
1717
required: true
1818
default: latest
19-
preRelease:
20-
description: If latest release was a pre-release (e.g. X.X.X-alpha.0) and you want to push another one, pick 'yes'
21-
required: true
22-
type: choice
23-
default: no
24-
options:
25-
- yes
26-
- no
2719

2820
env:
2921
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -63,10 +55,3 @@ jobs:
6355
env:
6456
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6557
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
if: ${{ github.event.inputs.preRelease == 'no' }}
67-
- name: Pre-Release
68-
run: pnpm run release-it ${{github.event.inputs.releaseType}} --github.release --ci --npm.skipChecks --no-git.requireCleanWorkingDir --preRelease=alpha --github.preRelease --npm.tag=next
69-
env:
70-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
if: ${{ github.event.inputs.preRelease == 'yes' }}

0 commit comments

Comments
 (0)