File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1919if [[ " ${DEPLOY-0} " -eq " 1" ]] || [[ " ${DEPLOY_ALT-0} " -eq " 1" ]]; then
2020 dist_dir=" ${build_dir} /dist"
2121 rm -rf " ${dist_dir} /doc"
22- cp -r " ${dist_dir} " /* " ${upload_dir} "
22+ mv " ${dist_dir} " /* " ${upload_dir} "
2323fi
2424
2525# CPU usage statistics.
26- cp build/cpu-usage.csv " ${upload_dir} /cpu-${CI_JOB_NAME} .csv"
26+ mv build/cpu-usage.csv " ${upload_dir} /cpu-${CI_JOB_NAME} .csv"
2727
2828# Build metrics generated by x.py.
29- cp " ${build_dir} /metrics.json" " ${upload_dir} /metrics-${CI_JOB_NAME} .json"
29+ mv " ${build_dir} /metrics.json" " ${upload_dir} /metrics-${CI_JOB_NAME} .json"
3030
3131# Toolstate data.
3232if [[ -n " ${DEPLOY_TOOLSTATES_JSON+x} " ]]; then
33- cp /tmp/toolstate/toolstates.json " ${upload_dir} /${DEPLOY_TOOLSTATES_JSON} "
33+ mv /tmp/toolstate/toolstates.json " ${upload_dir} /${DEPLOY_TOOLSTATES_JSON} "
3434fi
3535
3636echo " Files that will be uploaded:"
You can’t perform that action at this time.
0 commit comments