1
Fork 0

Remove brackets

This commit is contained in:
Bauke 2018-06-20 13:45:48 +02:00
parent aee5fb0aca
commit 2733ab6685
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 2 deletions

View File

@ -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}`