forked from release-drafter/release-drafter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-config.js
31 lines (29 loc) · 873 Bytes
/
default-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const { SORT_BY, SORT_DIRECTIONS } = require('./sort-pull-requests')
const DEFAULT_CONFIG = Object.freeze({
'name-template': '',
'tag-template': '',
'change-template': `* $TITLE (#$NUMBER) @$AUTHOR`,
'change-title-escapes': '',
'no-changes-template': `* No changes`,
'version-template': `$MAJOR.$MINOR.$PATCH`,
'version-resolver': {
major: { labels: [] },
minor: { labels: [] },
patch: { labels: [] },
default: 'patch',
},
categories: [],
'exclude-labels': [],
'include-labels': [],
'exclude-contributors': [],
'no-contributors-template': 'No contributors',
replacers: [],
autolabeler: [],
'sort-by': SORT_BY.mergedAt,
'sort-direction': SORT_DIRECTIONS.descending,
prerelease: false,
'filter-by-commitish': false,
commitish: '',
'category-template': `## $TITLE`,
})
module.exports.DEFAULT_CONFIG = DEFAULT_CONFIG