Skip to content

Commit

Permalink
npm version field gets its value from semver coerce method to fix cal…
Browse files Browse the repository at this point in the history
…ver incompatability.
  • Loading branch information
muratgozel committed Aug 2, 2022
1 parent 2a0a67b commit 2025766
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-releaser",
"version": "0.7.6",
"version": "0.7.7",
"description": "Automated versioning and package publishing tool. Supports semver and calver. Extendible with plugins.",
"main": "src/index.js",
"bin": {
Expand Down
1 change: 0 additions & 1 deletion src/plugins/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ function npm() {
}

async function beforePush(nextTag) {
console.log(semver.valid(semver.coerce(nextTag)));
updatePkgJson('version', semver.valid(semver.coerce(nextTag)))
}

Expand Down

0 comments on commit 2025766

Please sign in to comment.