Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Nov 15, 2018
1 parent 4b8a440 commit 0dbf8c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const determinePackageVersions = collated => {
return a;
}, 0);
packages[mappedName].version = Pkg.version;
const verParts = pkg.version.split("-");
const verParts = Pkg.version.split("-");
verParts[0] = semver.inc(verParts[0], types[updateType]);
packages[mappedName].newVersion = verParts.join("-");
packages[mappedName].originalPkg = Pkg;
Expand Down

0 comments on commit 0dbf8c4

Please sign in to comment.