[no publish] jenkins fix

This commit is contained in:
Timo Hocker 2020-03-10 08:19:33 +01:00
parent c0016e676e
commit f956ba16c6

View File

@ -20,7 +20,7 @@ child_process.exec ('git log -1 | grep \'\\[no publish\\]\'')
.addListener ('exit', (code) => { .addListener ('exit', (code) => {
if (code === 0) { if (code === 0) {
console.log ('build not marked for deployment'); console.log ('build not marked for deployment');
//process.exit (1); process.exit (0);
} }
else { child_process.execSync ('yarn publish'); } else { child_process.execSync ('yarn publish'); }
}); });