-
-
Notifications
You must be signed in to change notification settings - Fork 176
/
rever.xsh
21 lines (16 loc) · 705 Bytes
/
rever.xsh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os
$PROJECT = $GITHUB_REPO = 'conda-smithy'
$GITHUB_ORG = 'conda-forge'
$ACTIVITIES = ['authors', 'changelog', 'tag', 'push_tag', 'ghrelease', 'conda_forge']
$AUTHORS_FILENAME = 'AUTHORS.rst'
$CHANGELOG_FILENAME = 'CHANGELOG.rst'
$CHANGELOG_TEMPLATE = 'TEMPLATE.rst'
def sdist_asset():
fname = os.path.join('dist', 'conda_smithy-' + $VERSION + '.tar.gz')
print('Creating sdist tarball ' + fname)
![python -m build --sdist]
return fname
$TAG_TEMPLATE = $GHRELEASE_NAME = 'v$VERSION'
$GHRELEASE_ASSETS = [sdist_asset]
$CONDA_FORGE_SOURCE_URL = ('https://github.com/conda-forge/conda-smithy/releases/'
'download/v$VERSION/conda_smithy-$VERSION.tar.gz')