Skip to content

Commit

Permalink
dryrun appcast
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Mar 20, 2024
1 parent 392bab7 commit c37ab17
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/local/release-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -244,5 +248,5 @@ build_post
if [ -z "${DRYRUN}" ]; then
upload
catalog
appcast
fi
appcast

0 comments on commit c37ab17

Please sign in to comment.