From b6950d402708d1c5545f78d61cf118e5f101101a Mon Sep 17 00:00:00 2001 From: v0 Date: Mon, 6 Apr 2026 03:58:10 +0000 Subject: [PATCH 1/2] fix: correct GitHub Actions release download failure Add '|| true' to suppress exit code from failed downloads Co-authored-by: Jason <159670257+Jasonzhu1207@users.noreply.github.com> --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed89fb5..8b5ea63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,7 +115,7 @@ jobs: TAG=${GITHUB_REF_NAME} REPO=${{ github.repository }} MINIMUM_VERSION="4.1.7" - gh release download "$TAG" --repo "$REPO" --pattern "latest-linux.yml" --output "/tmp/latest-linux.yml" 2>/dev/null + gh release download "$TAG" --repo "$REPO" --pattern "latest-linux.yml" --output "/tmp/latest-linux.yml" 2>/dev/null || true if [ -f /tmp/latest-linux.yml ] && ! grep -q 'minimumVersion' /tmp/latest-linux.yml; then echo "minimumVersion: $MINIMUM_VERSION" >> /tmp/latest-linux.yml gh release upload "$TAG" --repo "$REPO" /tmp/latest-linux.yml --clobber @@ -166,7 +166,7 @@ jobs: TAG=${GITHUB_REF_NAME} REPO=${{ github.repository }} MINIMUM_VERSION="4.1.7" - gh release download "$TAG" --repo "$REPO" --pattern "latest.yml" --output "/tmp/latest.yml" 2>/dev/null + gh release download "$TAG" --repo "$REPO" --pattern "latest.yml" --output "/tmp/latest.yml" 2>/dev/null || true if [ -f /tmp/latest.yml ] && ! grep -q 'minimumVersion' /tmp/latest.yml; then echo "minimumVersion: $MINIMUM_VERSION" >> /tmp/latest.yml gh release upload "$TAG" --repo "$REPO" /tmp/latest.yml --clobber @@ -217,7 +217,7 @@ jobs: TAG=${GITHUB_REF_NAME} REPO=${{ github.repository }} MINIMUM_VERSION="4.1.7" - gh release download "$TAG" --repo "$REPO" --pattern "latest-arm64.yml" --output "/tmp/latest-arm64.yml" 2>/dev/null + gh release download "$TAG" --repo "$REPO" --pattern "latest-arm64.yml" --output "/tmp/latest-arm64.yml" 2>/dev/null || true if [ -f /tmp/latest-arm64.yml ] && ! grep -q 'minimumVersion' /tmp/latest-arm64.yml; then echo "minimumVersion: $MINIMUM_VERSION" >> /tmp/latest-arm64.yml gh release upload "$TAG" --repo "$REPO" /tmp/latest-arm64.yml --clobber From d825dada591b4866ace245af49ab2ea371aee9f1 Mon Sep 17 00:00:00 2001 From: v0 Date: Mon, 6 Apr 2026 04:28:32 +0000 Subject: [PATCH 2/2] fix: correct electron-builder upload for prerelease tags Remove 'releaseType: "release"' to allow automatic handling of prerelease tags. Co-authored-by: Jason <159670257+Jasonzhu1207@users.noreply.github.com> --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 2aac96c..1b4f8c6 100644 --- a/package.json +++ b/package.json @@ -78,8 +78,7 @@ "publish": { "provider": "github", "owner": "Jasonzhu1207", - "repo": "WeFlow", - "releaseType": "release" + "repo": "WeFlow" }, "productName": "WeFlow", "artifactName": "${productName}-${version}-Setup.${ext}",