Skip to content

Commit 7be6afb

Browse files
committed
Skip appcast/catalog upload on dryrun
1 parent 8202327 commit 7be6afb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/local/release-windows.sh

+8-8
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,9 @@ github_create_release() {
121121
}
122122

123123
upload() {
124-
if [ -z "${DRYRUN}" ]; then
125-
upload_s3
126-
if [ -z "$GITHUB_NOUPLOAD" ]; then
127-
upload_github
128-
fi
124+
upload_s3
125+
if [ -z "$GITHUB_NOUPLOAD" ]; then
126+
upload_github
129127
fi
130128
}
131129

@@ -242,6 +240,8 @@ export WORKRAVE_UPLOAD_DIR="snapshots/${S3_ARTIFACT_DIR}/${WORKRAVE_BUILD_ID}"
242240
build_pre
243241
build
244242
build_post
245-
upload
246-
catalog
247-
appcast
243+
if [ -z "${DRYRUN}" ]; then
244+
upload
245+
catalog
246+
appcast
247+
fi

0 commit comments

Comments
 (0)