Skip to content

Commit 2a808a7

Browse files
committed
FEAT: for feedstock, clone upstream repo but push to origin
1 parent 8ddec74 commit 2a808a7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make_release.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
CONDA_BUILD_ARGS = {'--user': 'larray-project'}
2626

2727
GITHUB_REP = "https://github.com/larray-project/larray-editor"
28-
CONDA_FEEDSTOCK_REP = "https://github.com/larray-project/larray-editor-feedstock.git"
28+
UPSTREAM_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/conda-forge/larray-editor-feedstock.git"
29+
ORIGIN_CONDAFORGE_FEEDSTOCK_REP = "https://github.com/larray-project/larray-editor-feedstock.git"
30+
2931
ONLINE_DOC = None
3032

3133

@@ -63,7 +65,8 @@ def update_version_in_json_used_by_menuinst(build_dir, release_name, package_nam
6365
sys.exit()
6466

6567
if argv[1] == '-c' or argv[1] == '--conda':
66-
update_feedstock(GITHUB_REP, CONDA_FEEDSTOCK_REP, SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
68+
update_feedstock(GITHUB_REP, UPSTREAM_CONDAFORGE_FEEDSTOCK_REP, ORIGIN_CONDAFORGE_FEEDSTOCK_REP,
69+
SRC_CODE, *argv[2:], tmp_dir=TMP_PATH_CONDA)
6770
else:
6871
local_repository = abspath(dirname(__file__))
6972
make_release(local_repository, PACKAGE_NAME, SRC_CODE, *argv[1:], src_documentation=SRC_DOC, tmp_dir=TMP_PATH,

0 commit comments

Comments
 (0)