Remove brackets
This commit is contained in:
parent
aee5fb0aca
commit
2733ab6685
4
bump.js
4
bump.js
|
@ -35,10 +35,10 @@ function bump(jsonPath, incrementType) {
|
||||||
let newVersion
|
let newVersion
|
||||||
switch (incrementType) {
|
switch (incrementType) {
|
||||||
case 'major':
|
case 'major':
|
||||||
newVersion = `${bumped}.0.0}`
|
newVersion = `${bumped}.0.0`
|
||||||
break
|
break
|
||||||
case 'minor':
|
case 'minor':
|
||||||
newVersion = `${oldVersion[0]}.${bumped}.0}`
|
newVersion = `${oldVersion[0]}.${bumped}.0`
|
||||||
break
|
break
|
||||||
case 'patch':
|
case 'patch':
|
||||||
newVersion = `${oldVersion[0]}.${oldVersion[1]}.${bumped}`
|
newVersion = `${oldVersion[0]}.${oldVersion[1]}.${bumped}`
|
||||||
|
|
Loading…
Reference in New Issue