diff --git a/.scripts/release.js b/.scripts/release.js index 901d91b764..8dd02d88a2 100644 --- a/.scripts/release.js +++ b/.scripts/release.js @@ -73,13 +73,17 @@ function publishGitTag(tasks, version) { const tag = `v${version}`; tasks.push( - { + { title: `Tag latest commit ${chalk.dim(`(${tag})`)}`, task: () => execa('git', ['tag', `${tag}`], { cwd: common.rootDir }) }, { - title: 'Push tag to Github', - task: () => execa('git', ['push', '--follow-tags'], { cwd: common.rootDir }) + title: 'Push branches to Github', + task: () => execa('git', ['push'], { cwd: common.rootDir }) + }, + { + title: 'Push tags to Github', + task: () => execa('git', ['push', '--tags'], { cwd: common.rootDir }) } ); }