Skip to content

Commit

Permalink
build(release): bug fixes (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwallace22 authored Jan 1, 2024
1 parent 1202c20 commit 5889e42
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
ignores: [message => message.startsWith('WIP')],
ignores: [message => message.startsWith('WIP'), message => /\[skip ci\]/m.test(message)],
};
Empty file added use-react-workers/CHANGELOG.md
Empty file.
2 changes: 1 addition & 1 deletion use-react-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dev": "vite build --watch",
"test:types": "tsc --noEmit",
"link": "eslint src/ --ext .ts",
"release:dry": "source ../.env && npx semantic-release --dry-run"
"release:dry": "source ../.env && npx semantic-release --dry-run --branches $(git branch --show-current)"
},
"dependencies": {
"dequal": "^1.0.0"
Expand Down
14 changes: 12 additions & 2 deletions use-react-workers/release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ module.exports = {
'@semantic-release/release-notes-generator',
'@semantic-release/github',
'@semantic-release/commit-analyzer',
'@semantic-release/git',
'@semantic-release/changelog',
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md'],
},
],
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
],
};

0 comments on commit 5889e42

Please sign in to comment.