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.
2 parents 40a240e + 3946d77 commit 697bb0dCopy full SHA for 697bb0d
.github/workflows/release-manual.yml
@@ -1,6 +1,17 @@
1
name: "Release and Publish Manual"
2
3
-on: workflow_dispatch
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ environment:
7
+ description: 'Choose the versions to publish'
8
+ required: true
9
+ default: 'minor'
10
+ type: choice
11
+ options:
12
+ - patch
13
+ - minor
14
+ - major
15
16
jobs:
17
build:
@@ -33,7 +44,7 @@ jobs:
33
44
git config --global user.email "github-actions[bot]@users.noreply.github.com"
34
45
git config --global user.name "github-actions[bot]"
35
46
36
- npx lerna version --conventional-commits --yes
47
+ npx lerna version ${{ github.event.inputs.environment }} --conventional-commits --yes
37
48
38
49
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
39
50
npx lerna publish from-git --yes
0 commit comments