Skip to content

Commit

Permalink
ci: update release commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly committed Jun 22, 2023
1 parent a920b6c commit 1570605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,13 @@ jobs:
corepack prepare pnpm@8.6.2 --activate
- run:
name: Bump version to latest prerelease
command: pnpm release:pre
command: pnpm release:pre --yes
- run:
name: Publish alpha prerelease to NPM
command: |
npm config set access public
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
pnpm release:publish
pnpm release:publish --yes
publish:
<<: *defaults
steps:
Expand All @@ -264,13 +264,13 @@ jobs:
corepack prepare pnpm@8.6.2 --activate
- run:
name: Bump version to production release
command: pnpm release:prod
command: pnpm release:prod --yes
- run:
name: Publish prod release to NPM
command: |
npm config set access public
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
pnpm release:publish
pnpm release:publish --yes
update-reference:
<<: *defaults
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"postinstall": "husky install && pnpm build",
"preinstall": "npx only-allow pnpm",
"release:alpha": "lerna version prerelease --preid alpha --yes",
"release:pre": "lerna version --conventional-commits --conventional-prerelease --preid alpha --yes",
"release:prod": "lerna version --conventional-commits --conventional-graduate --create-release github --yes",
"release:publish": "lerna publish from-git --yes --pre-dist-tag=alpha",
"release:pre": "lerna version --conventional-commits --conventional-prerelease --preid alpha",
"release:prod": "lerna version --conventional-commits --conventional-graduate --create-release github",
"release:publish": "lerna publish from-git",
"lint": "eslint . --ext .ts,.vue && pnpm -F @dpc-sdp/ripple-ui-core stylelint",
"test:unit": "jest --colors --runInBand",
"test:components-core": "pnpm -F @dpc-sdp/ripple-ui-core test:components",
Expand Down

0 comments on commit 1570605

Please sign in to comment.