8000 FEAT: for feedstock, clone upstream repo but push to origin · larray-project/larray@c728871 · GitHub
[go: up one dir, main page]

Skip to content

Commit c728871

Browse files
committed
FEAT: for feedstock, clone upstream repo but push to origin
1 parent 5d34755 commit c728871

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

make_release.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
SRC_CODE = "larray"
2222
SRC_DOC = join('doc', 'source')
2323
GITHUB_REP = "https://github.com/larray-project/larray"
24-
CONDA_FEEDSTOCK_REP = "https://github.com/larray-project/larray-feedstock.git"
24+
UPSTREAM_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/conda-forge/larray-feedstock.git"
25+
ORIGIN_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/larray-project/larray-feedstock.git"
2526
CONDA_BUILD_ARGS = {'--user': 'larray-project'}
2627

2728
LARRAY_READTHEDOCS = "http://larray.readthedocs.io/en/stable/"
@@ -130,7 +131,8 @@ def announce_new_release(release_name):
130131
if yes("Is metapackage larrayenv updated?", default='n'):
131132
announce_new_release(argv[2])
132133
elif argv[1] == '-c' or argv[1] == '--conda':
133-
update_feedstock(GITHUB_REP, CONDA_FEEDSTOCK_REP, SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
134+
update_feedstock(GITHUB_REP, UPSTREAM_CONDAFORGE_FEEDSTOCK_REP, ORIGIN_CONDAFORGE_FEEDSTOCK_REP,
135+
SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
134136
else:
135137
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:], src_documentation=SRC_DOC, tmp_dir=TMP_PATH,
136138
conda_build_args=CONDA_BUILD_ARGS)

0 commit comments

Comments
 (0)
0