Skip to content

Commit

Permalink
Adjust release-it process
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Nov 6, 2024
1 parent 77b2617 commit 222f302
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"after-install": "yarn copy-assets && bundle install",
"lint": "scripts/lint.sh",
"process-icon-svgs": "svgo -f packages/cfpb-design-system/src/components/cfpb-icons/icons --config=svgo.config.js",
"release": "yarn lint && yarn build && release-it --only-version && cd packages/cfpb-design-system && npm publish",
"release": "./scripts/release.sh",
"serve-html": "http-server docs/_site",
"serve-jekyll": "bundle exec jekyll serve --watch --profile --host=localhost --port=4000",
"serve-decap": "npx decap-server",
Expand Down Expand Up @@ -89,7 +89,6 @@
"release-it": {
"git": {
"requireBranch": "main",
"changelog": "./scripts/changelog.sh stdout",
"commitsPath": "packages/cfpb-design-system",
"requireCommits": true
},
Expand All @@ -105,7 +104,8 @@
]
},
"github": {
"release": true
"release": true,
"releaseNotes": "./scripts/changelog.sh stdout"
}
},
"type": "module",
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/cfpb-design-system/dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/utilities/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/cfpb-design-system/dist/utilities/index.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

yarn lint &&

yarn build &&

release-it --only-version &&

cd packages/cfpb-design-system && npm publish

0 comments on commit 222f302

Please sign in to comment.