Skip to content

Commit e68a8c7

Browse files
committed
make_release: specified larray-project as user when calling conda build
1 parent 26a468b commit e68a8c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make_release.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
SRC_DOC = join('doc', 'source')
2222
GITHUB_REP = "https://github.com/larray-project/larray"
2323
CONDA_FEEDSTOCK_REP = "https://github.com/larray-project/larray-feedstock.git"
24+
CONDA_BUILD_ARGS = {'--user': 'larray-project'}
2425

2526
LARRAY_READTHEDOCS = "http://larray.readthedocs.io/en/stable/"
2627
LARRAY_ANNOUNCE_MAILING_LIST = "larray-announce@googlegroups.com"
@@ -111,4 +112,5 @@ def announce_new_release(release_name):
111112
elif argv[1] == '-c' or argv[1] == '--conda':
112113
update_feedstock(GITHUB_REP, CONDA_FEEDSTOCK_REP, SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
113114
else:
114-
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:], src_documentation=SRC_DOC, tmp_dir=TMP_PATH)
115+
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:], src_documentation=SRC_DOC, tmp_dir=TMP_PATH,
116+
conda_build_args=CONDA_BUILD_ARGS)

0 commit comments

Comments
 (0)