chore(build): update build scripts

This commit is contained in:
Adam Bradley
2018-03-03 16:16:02 -06:00
parent 06abbf069f
commit 239b0aa1bb
7 changed files with 126 additions and 69 deletions

View File

@ -149,10 +149,6 @@ function runTasks(opts) {
{
title: 'Set package.json version',
task: () => execa('npm', ['run', 'set.version', opts.version], { cwd: rootDir }),
},
{
title: 'Generate CHANGELOG',
task: () => execa('npm', ['run', 'changelog'], { cwd: rootDir }),
}
);
}
@ -165,7 +161,7 @@ function runTasks(opts) {
},
{
title: 'Tagging the latest commit',
task: () => execa('git', ['tag', `v${opts.version}`], { cwd: rootDir })
task: () => execa('git', ['tag', `${pkg.name}-v${opts.version}`], { cwd: rootDir })
},
{
title: 'Pushing to Github',