Skip to content

Commit

Permalink
ci: 💚 update release script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Sep 16, 2018
1 parent 1aab861 commit d992cd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d992cd1

Please sign in to comment.