penguin/tinyproxy

An L4 proxy designed to act as a tiny transparent shim

commit c247d8abf8581a0788460955166ea546fc33a5db

author斟酌 鵬兄 <tgckpg@gmail.com>
date2026-05-27T12:06:01Z
subjectFixed release pipeline
commit c247d8abf8581a0788460955166ea546fc33a5db
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2026-05-27T12:06:01Z

    Fixed release pipeline
---
 .github/workflows/cmake-multi-platform.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index bc4e3cb..b4b0df1 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -209,17 +209,18 @@ jobs:
           GH_TOKEN: ${{ github.token }}
           GH_REPO: ${{ github.repository }}
         run: |
+          set -eu
+
           tag="${GITHUB_REF_NAME}"
 
-          if gh release view "$tag" >/dev/null 2>&1; then
-            gh release upload "$tag" release-assets/* --clobber
-          else
+          if ! gh release view "$tag" >/dev/null 2>&1; then
             gh release create "$tag" \
-              release-assets/* \
               --title "$tag" \
               --generate-notes
           fi
 
+          gh release upload "$tag" release-assets/* --clobber
+
   docker:
     name: Docker image
     runs-on: ubuntu-latest