Update downstream.sh

This commit is contained in:
Bikouo Aubin
2022-05-03 18:13:53 +02:00
committed by GitHub
parent a2da4db909
commit e1d1fd12a0

View File

@@ -187,7 +187,7 @@ f_copy_collection_to_working_dir()
# Install downstream collection into provided path
if [[ -n ${INSTALL_DOWNSTREAM_COLLECTION_PATH} ]]; then
rm -fr "${INSTALL_DOWNSTREAM_COLLECTION_PATH}"
mkdir "${INSTALL_DOWNSTREAM_COLLECTION_PATH}"
mkdir -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}"
f_log_info "Install built collection *.tar.gz into ${INSTALL_DOWNSTREAM_COLLECTION_PATH}"
ansible-galaxy collection install -p "${INSTALL_DOWNSTREAM_COLLECTION_PATH}" "${_build_dir}"/*.tar.gz
fi