diff --git a/bump.js b/bump.js index 1bd218c..0c70b87 100644 --- a/bump.js +++ b/bump.js @@ -35,10 +35,10 @@ function bump(jsonPath, incrementType) { let newVersion switch (incrementType) { case 'major': - newVersion = `${bumped}.0.0}` + newVersion = `${bumped}.0.0` break case 'minor': - newVersion = `${oldVersion[0]}.${bumped}.0}` + newVersion = `${oldVersion[0]}.${bumped}.0` break case 'patch': newVersion = `${oldVersion[0]}.${oldVersion[1]}.${bumped}`