Skip to content

Commit dab90b2

Browse files
authored
Modify npm version command in create-release workflow
Update npm version command to include workspace options.
1 parent cbf570a commit dab90b2

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/create-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ jobs:
6868
with:
6969
node-version: ${{ env.node-version }}
7070

71-
- run: npm version --no-git-tag-version ${{ needs.prepare.outputs.version }}
71+
- name: npm version ${{ needs.prepare.outputs.version }}
72+
run: |
73+
npm version ${{ needs.prepare.outputs.version }} \
74+
--include-workspace-root \
75+
--no-git-tag-version \
76+
--no-workspaces-update \
77+
--workspaces
7278
7379
- run: npm clean-install
7480

0 commit comments

Comments
 (0)