From 5567e665ccc5a090224a64ea3c1be10a62a8a208 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 28 Feb 2025 10:06:19 -0600 Subject: [PATCH] updated build system --- scripts/deliver.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/deliver.sh b/scripts/deliver.sh index a9d9e5c5..d766ee3b 100755 --- a/scripts/deliver.sh +++ b/scripts/deliver.sh @@ -38,14 +38,16 @@ BRANCH=$(git branch --show-current) RELEASE=$(grep PROJECT_RELEASE_ITER= ./config.sh | sed s/PROJECT_RELEASE_ITER=//g) popd -if [ "${BRANCH}" == "master" ] || [ "${BRANCH}" == "alpha" ] || [ "${BRANCH}" == "beta" ] || [ "${BRANCH}" == "rc" ]; then +if [ "${BRANCH}" == "master" ] || [ "${BRANCH}" == "alpha" ] || + [ "${BRANCH}" == "beta" ] || [ "${BRANCH}" == "rc" ]; then DEST_DIR=${DEST_DIR}/${RELEASE} -else +elif [[ ${BRANCH} = *'-alpha-'* ]] || [[ ${BRANCH} = *'-beta-'* ]] || + [[ ${BRANCH} = *'-rc-'* ]] || [[ ${BRANCH} = *'-release-'* ]]; then DEST_DIR=${DEST_DIR}/nightly +else + error_exit "skipping ${PROJECT_FILE_PART}" 0 fi -echo ${DEST_DIR} - pushd "${DIST_DIR}" if [ ! -f "./${PROJECT_OUT_FILE}" ]; then error_exit "failed to find file: ${PROJECT_OUT_FILE}" 1