Skip to content

Commit

Permalink
fix: pnpm compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: 90dy <90dy@proton.me>
  • Loading branch information
90dy committed Nov 1, 2023
1 parent 1bacb4b commit 9c1d0dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [1.0.2](https://github.com/90dy/gha-semantic-release/compare/v1.0.1...v1.0.2) (2023-11-01)


### Bug Fixes

* pnpm compatibility ([16daea0](https://github.com/90dy/gha-semantic-release/commit/16daea06fc2cd87763a0740fe6c1cb29533c7e2f))

## [1.0.1](https://github.com/90dy/gha-semantic-release/compare/v1.0.0...v1.0.1) (2023-11-01)


Expand Down
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,15 @@ runs:
shell: bash
if: ${{ inputs.plugins }}
run: |
echo "${{ inputs.plugins }}" | xargs npm install --no-save
echo "${{ inputs.plugins }}" | xargs npm install -g semantic-release
- name: Release
shell: bash
run: |
# expands variables before printing
set -o xtrace
npx semantic-release \
semantic-release \
$([ -z "${{ inputs.extends }}" ] || echo "${{ inputs.extends }}" | xargs echo | sed 's [[:space:]] , g' | xargs echo "--extends") \
$([ -z "${{ inputs.branches }}" ] || echo "${{ inputs.branches }}" | xargs echo | sed 's [[:space:]] , g' | xargs echo "--branches") \
$([ -z "${{ inputs.repository-url }}" ] || echo "${{ inputs.repository-url }}" | xargs echo | sed 's [[:space:]] , g' | xargs echo "--repository-url") \
Expand Down

0 comments on commit 9c1d0dd

Please sign in to comment.