From c37ab178d0513dcf8d475787065fa53f35da9946 Mon Sep 17 00:00:00 2001 From: Rob Caelers Date: Wed, 20 Mar 2024 18:31:34 +0100 Subject: [PATCH] dryrun appcast --- tools/local/release-windows.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/local/release-windows.sh b/tools/local/release-windows.sh index 18a2e3d2a..c90467474 100644 --- a/tools/local/release-windows.sh +++ b/tools/local/release-windows.sh @@ -132,7 +132,11 @@ catalog() { } appcast() { - node ${SCRIPTS_DIR}/citool/dist/citool.js appcast --branch ${S3_ARTIFACT_DIR} ${ARTIFACT_ENVIRONMENT:+--environment $ARTIFACT_ENVIRONMENT} + if [ -z "${DRYRUN}" ]; then + node ${SCRIPTS_DIR}/citool/dist/citool.js appcast --branch ${S3_ARTIFACT_DIR} ${ARTIFACT_ENVIRONMENT:+--environment $ARTIFACT_ENVIRONMENT} + else + node ${SCRIPTS_DIR}/citool/dist/citool.js appcast --branch ${S3_ARTIFACT_DIR} ${ARTIFACT_ENVIRONMENT:+--environment $ARTIFACT_ENVIRONMENT} --file + fi } upload_s3() { @@ -244,5 +248,5 @@ build_post if [ -z "${DRYRUN}" ]; then upload catalog - appcast fi +appcast