From 79c8dae8f94d1b8d0ba3141da9dd768545743873 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 4 Sep 2026 07:23:59 +0000 Subject: [PATCH 1/2] Initial plan From 5a3e3dd5e177c5fe9b5ec4292487417565438f20 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 4 Sep 2026 07:25:16 +0000 Subject: [PATCH 2/2] Fix publish workflow when release already exists Co-authored-by: xylophoneengine <74956800+xylophoneengine@users.noreply.github.com> --- .github/workflows/release.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d29991c..3ee5ba0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,8 +66,15 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release create "${GITHUB_REF_NAME}" \ - --repo "${GITHUB_REPOSITORY}" \ - --title "${GITHUB_REF_NAME}" \ - --generate-notes \ - dist/* + if gh release view "${GITHUB_REF_NAME}" --repo "${GITHUB_REPOSITORY}" >/dev/null 2>&1; then + gh release upload "${GITHUB_REF_NAME}" \ + --repo "${GITHUB_REPOSITORY}" \ + --clobber \ + dist/* + else + gh release create "${GITHUB_REF_NAME}" \ + --repo "${GITHUB_REPOSITORY}" \ + --title "${GITHUB_REF_NAME}" \ + --generate-notes \ + dist/* + fi