Skip to content

Commit 358219b

Browse files
committed
chore: update release-rc action
1 parent cfa6b7c commit 358219b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-rc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: 'Release - Release Candidate'
22

33
on:
44
workflow_dispatch
5+
inputs:
6+
release_type:
7+
description: 'Release Type: premajor | preminor | prepatch | prerelease'
8+
required: true
9+
default: 'prerelease'
510

611
jobs:
712
build-and-release:
@@ -32,7 +37,7 @@ jobs:
3237
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
3338
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
3439
35-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
40+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
3641
--conventional-prerelease \
3742
--create-release github \
3843
--dist-tag next \

0 commit comments

Comments
 (0)