-
Notifications
You must be signed in to change notification settings - Fork 1
/
rever.xsh
19 lines (18 loc) · 1.14 KB
/
rever.xsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$PROJECT = 'rever'
$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
'ghrelease', # Creates a Github release entry for the new tag
'pypi', # Sends the package to pypi
]
$VERSION_BUMP_PATTERNS = [ # These note where/how to find the version numbers
('rever/__init__.py', r'__version__*=.*', "__version__ = '$VERSION'"),
('setup.py', r'version*=.*,', "version='$VERSION',")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst' # Filename for the changelog
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst' # Filename for the news template
$PUSH_TAG_REMOTE = '[email protected]:st3107/tfhelper.git' # Repo to push tags to
$GITHUB_ORG = 'st3107' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'tfhelper' # Github repo for Github releases and conda-forge