Skip to content

Commit

Permalink
fix: remove quotes from npm version (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmandM authored May 15, 2024
1 parent f53b767 commit 7b1da20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- id: variables
run: echo "version=$(npm pkg get version)" >> $GITHUB_OUTPUT
run: echo "version=$(npm pkg get version | sed 's/"//g')" >> $GITHUB_OUTPUT
- run: echo "Creating release for ts-mock-imports at version ${{ steps.variables.outputs.version }}"

publish-npm:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo "Running ${cmd[@]}"
git push && git push --tags
echo "version_number=$(npm pkg get version)" >> $GITHUB_OUTPUT
echo "version_number=$(npm pkg get version | sed 's/"//g')" >> $GITHUB_OUTPUT
- id: pack_tar
run: |
Expand Down

0 comments on commit 7b1da20

Please sign in to comment.