forked from MatthewLoveQUB/SKILL_Tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
26 lines (21 loc) · 1.09 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
# Release Script
# Rever: Releaser of Versions
# https://regro.github.io/rever-docs/tutorial.html
$PROJECT = 'IDS-skill'
from ids.ids_rever import release_docs, package_conda, update_conda, package_conda2, update_conda2
$ACTIVITIES = [
'check',
'version_bump', # Changes the version number in various source files (setup.py, __init__.py, etc)
#'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
'package_conda',
#'update_conda',
#'release_docs',
]
$VERSION_BUMP_PATTERNS = [ # These note where/how to find the version numbers
('docs/source/conf.py', r'release\s*=\'.*\'', "release = '$VERSION'"),
('conda-recipe/meta.yaml', r'\{\%\s*set\s*version\s*=\s*\".*\"\s*\%\}', "{% set version = \"$VERSION\" %}"),
('version',r'.*',"$VERSION"),
]
$UPDATE_CONDA_ENVS = ["dev"]