From 10448e5706fb2414e9fdf55f974926d380945344 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 30 Jul 2019 11:35:16 +0200 Subject: [PATCH] We have to correctly search for information to deploy. - Define BINTRAY_ARCHIVES_DIR variable - Correctly use find. --- travis/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/deploy.sh b/travis/deploy.sh index c254436..4bbaa84 100755 --- a/travis/deploy.sh +++ b/travis/deploy.sh @@ -9,6 +9,7 @@ RELEASE_KIWIX_ARCHIVES_DIR=${EXPORT_DIR}/RELEASE_KIWIX_ARCHIVES RELEASE_ZIM_ARCHIVES_DIR=${EXPORT_DIR}/RELEASE_ZIM_ARCHIVES DIST_KIWIX_ARCHIVES_DIR=${EXPORT_DIR}/DIST_KIWIX_ARCHIVES DIST_ZIM_ARCHIVES_DIR=${EXPORT_DIR}/DIST_ZIM_ARCHIVES +BINTRAY_ARCHIVES_DIR=${EXPORT_DIR}/BINTRAY_ARCHIVES if [[ "$TRAVIS_EVENT_TYPE" = "cron" ]] then @@ -82,7 +83,7 @@ then fi ) - BINTRAY_ARCHIVES=$(find $BINTRAY_ARCHIVES_DIR/*_bintray_info.json -type f) + BINTRAY_ARCHIVES=$(find $BINTRAY_ARCHIVES_DIR -name "*_bintray_info.json" -type f) if [[ "x$BINTRAY_ARCHIVES" != "x" ]] then for archive_info in $BINTRAY_ARCHIVES