Skip to content

Commit

Permalink
find and delete old zsync files
Browse files Browse the repository at this point in the history
Signed-off-by: Rahammetoela Toekiman <[email protected]>
  • Loading branch information
Fuseteam committed Aug 23, 2024
1 parent 7d1f405 commit bbd6b6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions admin/linux/upload-appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ for data in $(echo $assets | jq -r '.[] | @uri'); do
echo "Deleting old asset: $name"
$(delete_release_asset $assetId)
fi

if [[ "$name" == *.zsync ]]; then
echo "Deleting old asset: $name"
$(delete_release_asset $assetId)
fi
done

# Upload release asset
Expand Down

0 comments on commit bbd6b6a

Please sign in to comment.