Skip to content

Commit 68530d7

Browse files
ci: fix release workflow
1 parent aa145d6 commit 68530d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133

134134
- name: publish to npm
135135
run: |
136-
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git ${{ github.event.inputs.snapshot == 'true' && '--pre-dist-tag dev' }}
136+
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish from-git ${{ (github.event.inputs.snapshot == 'true' && '--pre-dist-tag dev') || '' }}
137137
env:
138138
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
139139
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)