fix: add a flag indicate which branch is the main one

This commit is contained in:
Pierre Vanduynslager
2019-11-28 13:59:06 -05:00
parent e722354f4f
commit 2caafbaa2b
3 changed files with 99 additions and 21 deletions
+2
View File
@@ -98,6 +98,7 @@ test('Plugins are called with expected values', async t => {
accept: ['patch', 'minor'],
tags: [{channels: ['next'], gitTag: 'v1.0.0@next', version: '1.0.0'}],
type: 'release',
main: true,
},
{
channel: 'next',
@@ -106,6 +107,7 @@ test('Plugins are called with expected values', async t => {
accept: ['patch', 'minor', 'major'],
tags: [{channels: ['next'], gitTag: 'v1.0.0@next', version: '1.0.0'}],
type: 'release',
main: false,
},
];
const branch = branches[0];