From b73165a3ab0ddcce4591c480d4be894eb66679c3 Mon Sep 17 00:00:00 2001 From: Karsten Thoms Date: Tue, 21 Oct 2025 08:13:16 +0200 Subject: [PATCH] fix(build): Do not skip asset downloads All assets have to be downloaded and unpacked, otherwise existing ones are removed from the server. --- .github/script/release-assets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/script/release-assets.sh b/.github/script/release-assets.sh index dab0cef..c9d0509 100755 --- a/.github/script/release-assets.sh +++ b/.github/script/release-assets.sh @@ -68,8 +68,8 @@ for RELEASE in $(echo "$RELEASES_JSON" | jq -c '.'); do if [[ -n "$ASSET_URL" ]]; then SKIP_DOWNLOAD=false if curl --head --silent --fail "$REMOTE_URL" > /dev/null; then - echo " Asset $ASSET_NAME from release $TAG_NAME has already been published at $REMOTE_URL. Skipping download." - SKIP_DOWNLOAD=true + echo " Asset $ASSET_NAME from release $TAG_NAME has already been published at $REMOTE_URL." + #SKIP_DOWNLOAD=true fi if [[ -f "$ASSET_FILE" && "$SKIP_DOWNLOAD" == false ]]; then echo " Asset $ASSET_NAME from release $TAG_NAME already exists. Skipping download."