Skip to content

Commit 764edb5

Browse files
ci: fix release workflow (#7915)
**Thank you for your contribution!** 👏 To get it merged faster, kindly review the checklist below: ## Pull Request Checklist - [ ] Reviewed the [Contributing Guidelines](https://github.com/UI5/webcomponents-react/blob/main/CONTRIBUTING.md) - Especially the [How to Contribute](https://github.com/UI5/webcomponents-react/blob/main/CONTRIBUTING.md#contribute-code) section - [ ] [Correct commit message style](https://github.com/UI5/webcomponents-react/blob/main/docs/Guidelines.md#commit-message-style)
1 parent aa145d6 commit 764edb5

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)