-
Notifications
You must be signed in to change notification settings - Fork 12
/
rever.xsh
38 lines (33 loc) · 1.02 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
33
34
35
36
37
38
$PROJECT = 'pdfstream'
$ACTIVITIES = [
'version_bump',
'changelog',
'tag',
'push_tag',
'ghrelease',
'pypi',
# 'forge'
]
$VERSION_BUMP_PATTERNS = [
('pdfstream/__init__.py', r'__version__\s*=.*', "__version__ = '$VERSION'"),
('setup.py', r'version\s*=.*,', "version='$VERSION',")
]
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
$TAG_REMOTE = '[email protected]:xpdAcq/PDFstream.git'
$GITHUB_ORG = 'xpdAcq'
$GITHUB_REPO = 'PDFstream'
$FORGE_FEEDSTOCK = '[email protected]:nsls-ii-forge/pdfstream-feedstock.git'
$FORGE_FEEDSTOCK_ORG = 'nsls-ii-forge'
$FORGE_PROTOCOL = 'ssh'
$FORGE_SOURCE_URL = 'https://github.com/$GITHUB_ORG/$GITHUB_REPO/releases/download/$VERSION/$PROJECT-$VERSION.tar.gz'
$FORGE_HASH_TYPE = 'sha256'
$FORGE_PULL_REQUEST = True
$FORGE_RERENDER = True
$FORGE_USE_GIT_URL = False
$SPHINX_HOST_DIR = 'docs/build'
$GHPAGES_REPO = '[email protected]:xpdAcq/pdfstream.git'
$GHPAGES_BRANCH = 'gh-pages'
$GHPAGES_COPY = (
('$SPHINX_HOST_DIR/html', '$GHPAGES_REPO_DIR'),
)