penguin/tinyproxy

An L4 proxy designed to act as a tiny transparent shim

commit 248a791483c9ceddfb3917b75a46635d12d32106

author斟酌 鵬兄 <tgckpg@gmail.com>
date2026-05-27T12:46:11Z
subjectwhy is this so hard
commit 248a791483c9ceddfb3917b75a46635d12d32106
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2026-05-27T12:46:11Z

    why is this so hard
---
 .github/workflows/cmake-multi-platform.yml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index a8665fe..4ce1d15 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -223,11 +223,19 @@ jobs:
               --generate-notes
           fi
 
+          echo "Assets currently on release:"
+          gh release view "$tag" --json assets --jq '.assets[].name'
+
           for asset in release-assets/*; do
             name="$(basename "$asset")"
 
-            echo "Deleting existing release asset if present: $name"
-            gh release delete-asset "$tag" "$name" -y >/dev/null 2>&1 || true
+            if gh release view "$tag" --json assets --jq '.assets[].name' | grep -Fxq "$name"; then
+              echo "Deleting existing release asset: $name"
+              gh release delete-asset "$tag" "$name" -y
+
+              echo "Assets after delete:"
+              gh release view "$tag" --json assets --jq '.assets[].name'
+            fi
 
             echo "Uploading release asset: $name"
             gh release upload "$tag" "$asset"