-
Notifications
You must be signed in to change notification settings - Fork 5
/
rever.xsh
18 lines (17 loc) · 1.13 KB
/
rever.xsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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
#'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
]
$VERSION_BUMP_PATTERNS = [ # These note where/how to find the version numbers
('mapPDF/__init__.py', '__version__\s*=.*', "__version__ = '$VERSION'"),
('setup.py', 'version\s*=.*,', "version='$VERSION',")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst' # Filename for the changelog
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst' # Filename for the news template
$TAG_REMOTE = 'https://github.com/diffpy/mappdf.git' # Repo to push tags to
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'mappdf' # Github repo for Github releases and conda-forge