forked from conda/conda-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
44 lines (37 loc) · 795 Bytes
/
rever.xsh
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
32
33
34
35
36
37
38
39
40
41
42
43
44
$ACTIVITIES = [
"authors",
"changelog",
"tag",
"push_tag",
"ghrelease",
]
#
# Basic settings
#
$PROJECT = $GITHUB_REPO = "conda-build"
$GITHUB_ORG = "conda"
$AUTHORS_FILENAME = "AUTHORS.txt"
#
# Changelog settings
#
$CHANGELOG_FILENAME = "CHANGELOG.txt"
$CHANGELOG_PATTERN = "# current developments"
$CHANGELOG_HEADER = """# current developments
$RELEASE_DATE $VERSION:
------------------
"""
$CHANGELOG_CATEGORIES = (
"Enhancements",
"Bug fixes",
"Deprecations",
"Docs",
"Other",
)
def title_formatter(category):
s = category + ':\n'
s += "-" * (len(category) + 1)
s += "\n\n"
return s
$CHANGELOG_CATEGORY_TITLE_FORMAT = title_formatter
$CHANGELOG_AUTHORS_TITLE = "Contributors"
$CHANGELOG_AUTHORS_FORMAT = "* @{github}\n"