Skip to content

Commit

Permalink
chore: update publishing scripts (#28118)
Browse files Browse the repository at this point in the history
* chore: update publishing scripts

* remove `--no-changelog` for now
  • Loading branch information
vladar committed Nov 17, 2020
1 parent f9838f7 commit 17de55b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 3 additions & 6 deletions lerna.json
Expand Up @@ -4,13 +4,10 @@
"license": "MIT"
},
"publish": {
"allowBranch": ["master", "release/*"],
"bump": "prerelease",
"allowBranch": "release/*",
"bump": "patch",
"conventionalCommits": true,
"message": "chore(release): Publish pre-release",
"preid": "next",
"preDistTag": "next",
"noChangelog": true
"message": "chore(release): Publish"
},
"bootstrap": {
"ignore": ["**/gatsby-admin"]
Expand Down
9 changes: 7 additions & 2 deletions package.json
Expand Up @@ -140,9 +140,14 @@
"plop": "plop",
"prebootstrap": "yarn",
"prettier": "prettier \"**/*.{md,css,scss,yaml,yml}\"",
"publish": "node scripts/check-publish-access && node scripts/clear-package-dir --verbose && lerna publish",
"prepublishOnly": "node scripts/check-publish-access",
"prepack": "node scripts/clear-package-dir --verbose",
"publish": "echo \"Use `yarn publish-next` or `yarn publish-release` instead of `yarn run publish`\"",
"publish-canary": "lerna publish --canary --yes",
"publish-next": "lerna publish --npm-tag=next --bump=prerelease",
"publish-preminor": "lerna publish preminor --pre-dist-tag=next --preid=next --force-publish --allow-branch=master --message=\"chore(release): Publish next pre-minor\"",
"publish-next": "lerna publish prerelease --pre-dist-tag=next --preid=next --allow-branch=master --message=\"chore(release): Publish next\"",
"publish-rc": "lerna publish prerelease --pre-dist-tag=rc --preid=rc --message=\"chore(release): Publish rc\"",
"publish-release": "lerna publish",
"test": "npm-run-all -s lint jest test:peril",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot",
Expand Down

0 comments on commit 17de55b

Please sign in to comment.