Skip to content

Commit

Permalink
fix: resolveNextVersion should provide bumpStrategy instead of releas…
Browse files Browse the repository at this point in the history
…eStrategy
  • Loading branch information
张华斌 authored and antongolub committed Jul 9, 2021
1 parent 31f468e commit fee26ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/updateDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const getDependentRelease = (pkg, bumpStrategy, releaseStrategy, ignore) => {
return false;
}

const resolvedVersion = resolveNextVersion(currentVersion, nextVersion, releaseStrategy);
const resolvedVersion = resolveNextVersion(currentVersion, nextVersion, bumpStrategy);
if (currentVersion !== resolvedVersion) {
scope[name] = resolvedVersion;
return true;
Expand Down

0 comments on commit fee26ab

Please sign in to comment.