File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,15 +2,6 @@ name: Manual Release
22
33on :
44 workflow_dispatch :
5- inputs :
6- version :
7- description : ' Version Type (patch/minor/major)'
8- required : true
9- type : choice
10- options :
11- - patch
12- - minor
13- - major
145
156jobs :
167 release :
3122 - name : Install pnpm
3223 uses : pnpm/action-setup@v3
3324 with :
34- version : 8
25+ version : 9
3526
3627 - name : Get pnpm store directory
3728 shell : bash
5445 git config user.name 'github-actions[bot]'
5546 git config user.email 'github-actions[bot]@users.noreply.github.com'
5647
57- - name : Create Changeset
58- run : |
59- pnpm changeset add --empty
60- echo "# @lglab/react-qr-code\n\n${{ github.event.inputs.version }} release" > .changeset/release.md
61-
62- - name : Update Version
63- id : create_version_pr
48+ - name : Changeset Version
6449 run : |
6550 pnpm changeset version
6651 NEW_VERSION=$(node -p "require('./packages/react-qr-code/package.json').version")
You can’t perform that action at this time.
0 commit comments