build_torcx_store: upload manifests to upload_root

Rather than to a location special to them.
The comment in the code explains the reasoning for this.
This commit is contained in:
Euan Kemp 2017-09-06 18:00:47 -07:00
parent f496072a10
commit ee54181503

View File

@ -251,9 +251,16 @@ for pkg in $(torcx_manifest::get_pkg_names "${manifest_path}"); do
done done
# Upload the manifest # Upload the manifest
# Note: the manifest is uploaded to 'UPLOAD_ROOT' rather than
# 'TORCX_UPLOAD_ROOT'.
# For non-release builds, those two locations will be the same, so it usually
# won't matter.
# However, for release builds, torcx packages may be uploaded directly to their
# final location, while the manifest still has to go through build bucket in
# order to get signed.
sign_and_upload_files \ sign_and_upload_files \
'torcx manifest' \ 'torcx manifest' \
"${TORCX_UPLOAD_ROOT}/manifests/${BOARD}/${COREOS_VERSION}" \ "${UPLOAD_ROOT}/torcx/manifests/${BOARD}/${COREOS_VERSION}" \
"" \ "" \
"${manifest_path}" "${manifest_path}"