We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c38d7 commit 74cc641Copy full SHA for 74cc641
1 file changed
.github/workflows/create-release-pr.yml
@@ -41,9 +41,11 @@ jobs:
41
- name: Version bump
42
id: version
43
run: |
44
- VERSION=$(pnpm version "$VERSION_TYPE" --no-git-tag-version)
+ pnpm version "$VERSION_TYPE" --no-git-tag-version
45
+ VERSION=$(node -p "JSON.parse(fs.readFileSync('package.json', 'utf8')).version")
46
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- pnpm --recursive exec pnpm pkg set version=$(node -p "JSON.parse(fs.readFileSync('package.json', 'utf8')).version")
47
+
48
+ pnpm --recursive exec pnpm pkg set version="$VERSION"
49
pnpm install --no-frozen-lockfile
50
env:
51
VERSION_TYPE: ${{ github.event.inputs.version }}
0 commit comments