Skip to content

Commit

Permalink
Skip appcast/catalog upload on dryrun
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaelers committed Dec 1, 2023
1 parent 8202327 commit 7be6afb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tools/local/release-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,9 @@ github_create_release() {
}

upload() {
if [ -z "${DRYRUN}" ]; then
upload_s3
if [ -z "$GITHUB_NOUPLOAD" ]; then
upload_github
fi
upload_s3
if [ -z "$GITHUB_NOUPLOAD" ]; then
upload_github
fi
}

Expand Down Expand Up @@ -242,6 +240,8 @@ export WORKRAVE_UPLOAD_DIR="snapshots/${S3_ARTIFACT_DIR}/${WORKRAVE_BUILD_ID}"
build_pre
build
build_post
upload
catalog
appcast
if [ -z "${DRYRUN}" ]; then
upload
catalog
appcast
fi

0 comments on commit 7be6afb

Please sign in to comment.