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.
This commit is contained in:
parent
87fc27c254
commit
d49c09c738
2
.github/workflows/flatpak.yml
vendored
2
.github/workflows/flatpak.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user