Skip to content

Commit

Permalink
fix: Use correct logic for package version
Browse files Browse the repository at this point in the history
  • Loading branch information
EmandM committed May 15, 2024
1 parent fd23dfc commit a3bccd1
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 show ts-mock-imports version)" >> $GITHUB_OUTPUT
run: echo "version=$(npm pkg get version)" >> $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 show ts-mock-imports version)" >> $GITHUB_OUTPUT
echo "version_number=$(npm pkg get version)" >> $GITHUB_OUTPUT
- id: pack_tar
run: |
Expand Down

0 comments on commit a3bccd1

Please sign in to comment.