-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrever.xsh
36 lines (29 loc) · 1.3 KB
/
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
$PROJECT = 'developer-primer'
$ACTIVITIES = [
'version_bump',
'authors',
'changelog',
'tag',
'push_tag',
'bibtex'
]
# VersionBump related ------------------------------------------------------- #
$VERSION_BUMP_PATTERNS = [
('README.rst', r'\sVersion:\*\*\s.*', '\sVersion:** $VERSION'),
('docs/source/conf.py', r'release\s=\s.*', "release = '$VERSION'"),
('docs/source/index.rst', r'\sVersion:\*\*\s.*', '\sVersion:** $VERSION'),
]
# Authors related ----------------------------------------------------------- #
$AUTHORS_DIR = ".authors" # this is custom
$AUTHORS_FILENAME = $AUTHORS_DIR + '/' + 'AUTHORS'
$AUTHORS_TEMPLATE = '\n{authors}\n'
$AUTHORS_METADATA = $AUTHORS_DIR + '/' + '.authors.yml'
$AUTHORS_MAILMAP = $AUTHORS_DIR + '/' + '.mailmap'
# Changelog related --------------------------------------------------------- #
$CHANGELOG_FILENAME = 'CHANGELOG.rst' # Filename for the changelog
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst' # Filename for the news template
# BibTex related ------------------------------------------------------------ #
$BIBTEX_AUTHORS = 'G.H. Garrett'
$BIBTEX_URL = 'https://github.com/tudat-team/developer-primer'
# PushTag related ----------------------------------------------------------- #
$PUSH_TAG_REMOTE = '[email protected]:tudat-team/developer-primer.git'