From 1020d75fa5362f382264e22aa9285d9cc5a0de0d Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Tue, 5 May 2020 19:45:24 +0200 Subject: [PATCH] fix --- asset_jenkins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asset_jenkins.js b/asset_jenkins.js index ef70511..26d0408 100644 --- a/asset_jenkins.js +++ b/asset_jenkins.js @@ -17,7 +17,7 @@ const child_process = require ('child_process'); const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8')); [ - ,, pkg.version + ,, pkg.version ] = process.argv; fs.writeFileSync ('package.json', JSON.stringify (pkg, null, 2)); @@ -31,6 +31,6 @@ child_process.exec ('git log -1 | grep \\'\\\\[no publish\\\\]\\'') console.log ('build not marked for deployment'); process.exit (1); } - else { child_process.execSync ('yarn publish'); } + else { child_process.execSync ('yarn publish --access public'); } }); `;