Skip to content

Commit

Permalink
chore: change release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Honoré Nintunze committed Dec 12, 2020
1 parent b9c0522 commit e8a6c3b
Show file tree
Hide file tree
Showing 4 changed files with 3,910 additions and 6,947 deletions.
13 changes: 13 additions & 0 deletions .versionrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const types = require('commitlint-config-cz/lib/types')()

module.exports = {
types: types.map((type) => {
const base = { type, hidden: false }
if (type === 'feat') return { ...base, section: 'Features' }
if (type === 'fix') return { ...base, section: 'Bug Fixes' }
if (type === 'docs') return { ...base, section: 'Docs' }
if (type === 'chore' || type === 'test') return { ...base, section: 'Others' }
if (type === 'improvement') return { ...base, section: 'Improvements' }
return { ...base, hidden: true }
}),
}
Loading

0 comments on commit e8a6c3b

Please sign in to comment.