|
|
@ -90,8 +90,8 @@ async function tagAndPush(github, owner, repo, execa, commit=false) {
|
|
|
|
console.log(`New tag: ${newTag}`);
|
|
|
|
console.log(`New tag: ${newTag}`);
|
|
|
|
if (commit) {
|
|
|
|
if (commit) {
|
|
|
|
let channelName = channel[0].toUpperCase() + channel.slice(1);
|
|
|
|
let channelName = channel[0].toUpperCase() + channel.slice(1);
|
|
|
|
console.info(`Committing pending commit as ${channelName} #${tagNumber + 1}`);
|
|
|
|
console.info(`Committing pending commit as ${channelName} ${tagNumber + 1}`);
|
|
|
|
await execa("git", ['commit', '-m', `${channelName} #${tagNumber + 1}`]);
|
|
|
|
await execa("git", ['commit', '-m', `${channelName} ${tagNumber + 1}`]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.info('Pushing tags to GitHub ...');
|
|
|
|
console.info('Pushing tags to GitHub ...');
|
|
|
|
await execa("git", ['tag', newTag]);
|
|
|
|
await execa("git", ['tag', newTag]);
|
|
|
|