Compare commits

...

2 Commits

Author SHA1 Message Date
f956ba16c6 [no publish] jenkins fix 2020-03-10 08:19:39 +01:00
c0016e676e Revert "fix lint"
This reverts commit e138879479010d7f26db9d69b26e62fe99640b0e.
2020-03-10 08:18:43 +01:00

View File

@ -18,11 +18,9 @@ if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string')
child_process.exec ('git log -1 | grep \'\\[no publish\\]\'')
.addListener ('exit', (code) => {
if (code === 0)
if (code === 0) {
console.log ('build not marked for deployment');
// process.exit (1);
else
child_process.execSync ('yarn publish');
process.exit (0);
}
else { child_process.execSync ('yarn publish'); }
});