Skip to content

Commit 5f61c91

Browse files
authored
Merge pull request #23 from LGLabGreg/next
fix: release workflow
2 parents f4206e4 + 5d0efac commit 5f61c91

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

.github/workflows/manual-release.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ name: Manual Release
22

33
on:
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

156
jobs:
167
release:
@@ -31,7 +22,7 @@ jobs:
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
@@ -54,13 +45,7 @@ jobs:
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")

0 commit comments

Comments
 (0)