Skip to content

Commit fa74e2f

Browse files
committed
MAINT: update release script for separate conda upload step
1 parent 159881c commit fa74e2f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

make_release.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
GITHUB_REP = "https://github.com/larray-project/larray"
2525
UPSTREAM_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/conda-forge/larray-feedstock.git"
2626
ORIGIN_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/larray-project/larray-feedstock.git"
27-
CONDA_BUILD_ARGS = {'--user': 'larray-project'}
27+
ANACONDA_UPLOAD_ARGS = {'--user': 'larray-project'}
2828

2929
LARRAY_READTHEDOCS = "http://larray.readthedocs.io/en/stable/"
3030
LARRAY_ANNOUNCE_MAILING_LIST = "larray-announce@googlegroups.com"
@@ -132,5 +132,6 @@ def announce_new_release(release_name):
132132
update_feedstock(GITHUB_REP, UPSTREAM_CONDAFORGE_FEEDSTOCK_REP, ORIGIN_CONDAFORGE_FEEDSTOCK_REP,
133133
SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
134134
else:
135-
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:], src_documentation=SRC_DOC, tmp_dir=TMP_PATH,
136-
conda_build_args=CONDA_BUILD_ARGS)
135+
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:],
136+
src_documentation=SRC_DOC, tmp_dir=TMP_PATH,
137+
anaconda_upload_args=ANACONDA_UPLOAD_ARGS)

0 commit comments

Comments
 (0)