-
Notifications
You must be signed in to change notification settings - Fork 0
/
rever.xsh
33 lines (27 loc) · 1004 Bytes
/
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
33
try:
input("Are you sure you are on the master branch which is identical to origin/master? [ENTER]")
except KeyboardInterrupt:
sys.exit(1)
$PROJECT = 'ipyvue-time-series'
$ACTIVITIES = [
'version_bump',
'changelog',
'tag',
'push_tag',
'pypi',
'ghrelease'
]
$VERSION_BUMP_PATTERNS = [
('ipyvue_time_series/__init__.py', r'__version__ = ', r'__version__ = "$VERSION"'),
('ipyvue_time_series/__init__.py', r'version_info =', f'version_info = {tuple(int(x) for x in $VERSION.split("."))}'),
('js/package.json', r' "version": ', r' "version": "$VERSION",'),
('setup.py', r' version=', r' version="$VERSION",'),
]
$CHANGELOG_FILENAME = 'ChangeLog'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
$CHANGELOG_NEWS = 'news'
$CHANGELOG_CATEGORIES = ('Added', 'Changed', 'Removed', 'Fixed')
$PUSH_TAG_REMOTE = '[email protected]:saraedum/ipyvue-time-series.git'
$PYPI_BUILD_COMMANDS = ['sdist', 'bdist_wheel']
$GITHUB_ORG = 'saraedum'
$GITHUB_REPO = 'ipyvue-time-series'