We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c38d7 commit 709483eCopy full SHA for 709483e
1 file changed
.github/workflows/create-release-pr.yml
@@ -41,10 +41,13 @@ 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"
47
+
48
pnpm --recursive exec pnpm pkg set version=$(node -p "JSON.parse(fs.readFileSync('package.json', 'utf8')).version")
49
pnpm install --no-frozen-lockfile
50
+ VERSION=$(pnpm version "$VERSION_TYPE" --no-git-tag-version)
51
env:
52
VERSION_TYPE: ${{ github.event.inputs.version }}
53
0 commit comments