You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2021/03/28 10:05:40 UTC

[camel] 01/02: Create target directory if not present

This is an automated email from the ASF dual-hosted git repository.

gzurowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 70472b1f05707f8032ec19068256002e029b0477
Author: Gregor Zurowski <gr...@zurowski.org>
AuthorDate: Sun Mar 28 12:01:58 2021 +0200

    Create target directory if not present
---
 etc/scripts/release-website.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/scripts/release-website.sh b/etc/scripts/release-website.sh
index e1bd873..de69d4d 100755
--- a/etc/scripts/release-website.sh
+++ b/etc/scripts/release-website.sh
@@ -70,6 +70,7 @@ echo "##########################################################################
 for comp in ${COMPLIST[*]}; do
   src=${comp%:*}
   dest=${comp#*:}
+  mkdir -p ${SITE_DIR}/${VERSION}/camel-website/static/schema/${dest}/
   cp ${DOWNLOAD}/${VERSION}/org/apache/camel/${src}/${VERSION}/*.xsd ${SITE_DIR}/${VERSION}/camel-website/static/schema/${dest}/
   # update_latest_released_schema("${SITE_DIR}/content/schema/${dest}/")
 done