-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathrever.xsh
22 lines (20 loc) · 1.01 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
$PROJECT = 'diffpy.pdfgui'
$ACTIVITIES = [
'version_bump',
'changelog',
'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
'ghrelease' # Creates a Github release entry for the new tag
]
$VERSION_BUMP_PATTERNS = [
('setup.py', 'version\s*=.*,', "version='$VERSION',")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_IGNORE = ['TEMPLATE.rst']
$PUSH_TAG_REMOTE = '[email protected]:diffpy/diffpy.pdfgui.git' # Repo to push tags to
$GITHUB_ORG = 'diffpy' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'diffpy.pdfgui' # Github repo for Github releases and conda-forge
$GHRELEASE_PREPEND = """See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.
The release is also available at [PyPI](https://pypi.org/project/diffpy.pdfgui/) and [Conda](https://anaconda.org/conda-forge/diffpy.pdfgui).
""" # release message