From 048dee838ad4ecf92b32db915c7a6adc344ff46c Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Tue, 5 May 2020 19:50:17 +0200 Subject: [PATCH] fix publish --- jenkins.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/jenkins.js b/jenkins.js index ec0a7aa..c2fb836 100644 --- a/jenkins.js +++ b/jenkins.js @@ -1,10 +1,3 @@ -/* - * Copyright (C) SapphireCode - All Rights Reserved - * This file is part of Snippeteer which is released under BSD-3-Clause. - * See file 'LICENSE' for full license details. - * Created by Timo Hocker , April 2020 - */ - /* eslint-disable no-process-exit */ /* eslint-disable no-console */ /* eslint-disable no-sync */ @@ -29,5 +22,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'); } }); +