forked from tudat-team/tudatpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
32 lines (28 loc) · 1.6 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
$PROJECT = 'TudatPy'
$ACTIVITIES = [
'authors', # authors must have commit before executing Rever, otherwise he/she will be omitted.
'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
'forge', # updates feedstock
# 'pypi', # Sends the package to pypi
# 'conda_forge', # Creates a PR into your package's feedstock
]
$VERSION_BUMP_PATTERNS = [ # These note where/how to find the version numbers
('version', '.*,', "'$VERSION'")
]
# FORGE
$FORGE_SOURCE_URL = 'https://github.com/$GITHUB_ORG/$GITHUB_REPO/archive/$VERSION.tar.gz'
$FORGE_FEEDSTOCK = 'https://github.com/tudat-team/tudatpy-feedstock.git'
$FORGE_FEEDSTOCK_ORG = 'tudat-team'
$FORGE_PATTERNS = [
('meta.yaml','version\s=\s"(.*)"', "version='$VERSION'")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst' # Filename for the changelog
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst' # Filename for the news template
$CHANGELOG_AUTHORS_TITLE = 'Authors'
$CHANGELOG_AUTHORS_FORMAT = '* {name}\n'
$PUSH_TAG_REMOTE = 'https://github.com/tudat-team/tudatpy.git' # Repo to push tags to
$GITHUB_ORG = 'tudat-team' # Github org for Github releases and conda-forge
$GITHUB_REPO = 'tudatpy' # Github repo for Github releases and conda-forge