Browse Source

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.
Georges Basile Stavracas Neto 3 years ago
parent
commit
d49c09c738
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/flatpak.yml

+ 1 - 1
.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