Skip to content

Commit

Permalink
Use name from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
daogrady committed Dec 16, 2024
1 parent f2c62b3 commit 97fef07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
exit 0
fi
package_name=$(npm pkg get name | tr -d '"')
local_version=$(npm pkg get version | tr -d '"')
npm_version=$(npm show $GITHUB_REPOSITORY version)
npm_version=$(npm show $package_name version)
echo "Local version: $local_version"
echo "NPM version: $npm_version"
Expand Down

0 comments on commit 97fef07

Please sign in to comment.