-
Notifications
You must be signed in to change notification settings - Fork 14
/
rever.xsh
23 lines (21 loc) · 1.24 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
$PROJECT = 'srt-py'
$WEBSITE_URL = "https://github.com/MITHaystack/srt-py"
$GITHUB_ORG = "MITHaystack"
$GITHUB_REPO = "srt-py"
$ACTIVITIES = [
'version_bump', # Changes the version number in various source files (setup.py, __init__.py, etc)
'changelog', # Uses files in the news folder to create a changelog for release
'tag', # Creates a tag for the new version number
# 'push_tag', # Pushes the tag up to the $TAG_REMOTE
# 'pypi', # Sends the package to pypi
# 'conda_forge', # Creates a PR into your package's feedstock
# 'ghrelease' # Creates a Github release entry for the new tag
]
$TAG_TEMPLATE = 'v$VERSION'
$VERSION_BUMP_PATTERNS = [ # These note where/how to find the version numbers
('srt/__init__.py', r'__version__\s*=.*', "__version__ = '$VERSION'"),
('setup.py', r'version\s*=.*,', "version='$VERSION',"),
('recipe/meta.yaml', r'{%\s*set\s*version\s*=.*', '{% set version = "$VERSION" %}')
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst' # Filename for the changelog
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst' # Filename for the news template