From d992cd1e8287d328141a696b944592a8907c2934 Mon Sep 17 00:00:00 2001 From: Pavel910 Date: Sun, 16 Sep 2018 13:43:49 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=92=9A=20=20update=20release=20scri?= =?UTF-8?q?pt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 6 ++---- scripts/release.js | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index ac1764d0a19..b57ab927236 100644 --- a/package.json +++ b/package.json @@ -85,10 +85,8 @@ "commit:check": "yarn lint-staged", "lint-staged": "lint-staged", "prettier": "prettier --config .prettierrc.js --write", - "release": "scripts/release.js", - "release:dry": "scripts/release.js --preview --branch=development", - "release-private": "yarn build && node scripts/private.js --branch=material-admin --require=@babel/register", - "release-private:dry": "yarn release-private --preview", + "release": "node scripts/release.js", + "release:dry": "node scripts/release.js --preview", "webiny-ui-build-storybook": "cd packages/webiny-ui && cross-env OUT=../../netlify-static yarn build-storybook" }, "pre-commit": [ diff --git a/scripts/release.js b/scripts/release.js index 48dfbef0d21..1c3fb009644 100755 --- a/scripts/release.js +++ b/scripts/release.js @@ -64,11 +64,11 @@ const packages = globby const config = { preview: argv.preview || false, branch: argv.branch || "master", - ci: false, + ci: true, tagFormat: pkg => pkg.name + "@v${version}", packages, plugins: [ - wsr.npmVerify({ registry }), + wsr.npmVerify(), wsr.analyzeCommits({ isRelevant: (pkg, commit) => { if (commit.message.match(/affects: ((?:.+[\n\r]?)+)/gm)) {