penguin/tinyproxy

An L4 proxy designed to act as a tiny transparent shim

commit bb8182a37cf7b103d3e502b2b002ef521b916c0a

author斟酌 鵬兄 <tgckpg@gmail.com>
date2026-05-26T17:19:26Z
subjectFixing release artifacts
commit bb8182a37cf7b103d3e502b2b002ef521b916c0a
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2026-05-26T17:19:26Z

    Fixing release artifacts
---
 .github/workflows/cmake-multi-platform.yml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index 1a7abb6..5469424 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -192,10 +192,15 @@ jobs:
       - name: Create GitHub Release
         env:
           GH_TOKEN: ${{ github.token }}
+          GH_REPO: ${{ github.repository }}
         run: |
           tag="${GITHUB_REF_NAME}"
 
-          gh release create "$tag" \
-            release-assets/* \
-            --title "$tag" \
-            --generate-notes
+          if gh release view "$tag" >/dev/null 2>&1; then
+            gh release upload "$tag" release-assets/* --clobber
+          else
+            gh release create "$tag" \
+              release-assets/* \
+              --title "$tag" \
+              --generate-notes
+          fi