Skip to content

Commit

Permalink
fix: πŸ› fixed error while publishing new release (#49)
Browse files Browse the repository at this point in the history
* fix: πŸ› fixed error while publishing new release

* fix: πŸ› fixed review comments
  • Loading branch information
WasiqB authored Jan 8, 2024
1 parent 3052a24 commit d171290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
run: pnpm install && pnpm build

- name: Publish to NPM and GitHub release
run: pnpm release --github.preRelease=${{ inputs.pre-release }} --github.draft=${{ inputs.draft }}
run: pnpm release ${{ inputs.pre-release && '--github.preRelease' || '--no-github.preRelease' }} ${{ inputs.draft && '--github.draft' || '--no-github.draft' }}

0 comments on commit d171290

Please sign in to comment.