Skip to content

Commit

Permalink
Merge pull request #10 from dkmaker/publish-fix
Browse files Browse the repository at this point in the history
ci: add release rules to ensure all commit types trigger version bump
  • Loading branch information
dkmaker authored Jan 30, 2025
2 parents 33c6e36 + 8a93006 commit 7f47326
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions .github/conventional-changelog.config.cjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
module.exports = {
types: [
{ type: 'feat', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'chore', section: 'Maintenance' },
{ type: 'docs', section: 'Documentation' },
{ type: 'style', section: 'Styling' },
{ type: 'refactor', section: 'Code Refactoring' },
{ type: 'perf', section: 'Performance' },
{ type: 'test', section: 'Testing' },
{ type: 'ci', section: 'CI/CD' },
{ type: 'build', section: 'Build System' }
{ type: 'feat', section: 'Features', hidden: false },
{ type: 'fix', section: 'Bug Fixes', hidden: false },
{ type: 'chore', section: 'Maintenance', hidden: false },
{ type: 'docs', section: 'Documentation', hidden: false },
{ type: 'style', section: 'Styling', hidden: false },
{ type: 'refactor', section: 'Code Refactoring', hidden: false },
{ type: 'perf', section: 'Performance', hidden: false },
{ type: 'test', section: 'Testing', hidden: false },
{ type: 'ci', section: 'CI/CD', hidden: false },
{ type: 'build', section: 'Build System', hidden: false }
],
releaseRules: [
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'chore', release: 'patch' },
{ type: 'docs', release: 'patch' },
{ type: 'style', release: 'patch' },
{ type: 'refactor', release: 'patch' },
{ type: 'test', release: 'patch' },
{ type: 'ci', release: 'patch' },
{ type: 'build', release: 'patch' }
]
};

0 comments on commit 7f47326

Please sign in to comment.