Skip to content

Commit 9dd32a0

Browse files
committed
small bug fix when running full pipeline with all options
1 parent b71f9c8 commit 9dd32a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build_all.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ def run_docker_upload_cmd(cmd_arr, all_files_dir, name, version):
179179
docker_run.extend(['-e', f"PYPI_TOKEN={env['PYPI_TOKEN']}", 'upload'])
180180
if 'FIGSHARE_TOKEN' in env and name == 'Figshare':
181181
docker_run.extend(['-e', f"FIGSHARE_TOKEN={env['FIGSHARE_TOKEN']}", 'upload'])
182-
docker_run.extend(['upload'])
182+
if name == "validate":
183+
docker_run.extend(['upload'])
183184

184185
# Full command to run including version update
185186
docker_run.extend(cmd_arr)

0 commit comments

Comments
 (0)