From d49c09c738f81a80ab40f02328d2079ea7084ac5 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 4 Dec 2021 19:03:09 -0300 Subject: [PATCH] CI: Don't publish betas to Flathub stable Beta releases are being considered, in which case the tag name will contain '-beta' instead of '-rc'. Adapt the CI workflow to take '-beta' into account too. --- .github/workflows/flatpak.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index e3e912d64..587ce06ee 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -107,7 +107,7 @@ jobs: - name: "Publish to Flathub" uses: bilelmoussaoui/flatpak-github-actions/flat-manager@v4 - if: "!contains(github.ref, '-rc')" + if: "!contains(github.ref, '-beta') && !contains(github.ref, '-rc')" with: flat-manager-url: https://hub.flathub.org/ repository: stable