From fbf44ac21da94a5cf986d126954e624b7c75019f Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 7 Oct 2025 13:45:11 -0400 Subject: [PATCH] workflows: filter out fedora beta versions When the CI jobs fetch the version information from fedora to determine what are the current versions, do not include beta versions. Fixes: #174 Signed-off-by: John Mulligan --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2977ca90..2573dc78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - id: fedora-versions run: | curl -s -L https://fedoraproject.org/releases.json -o fedora-releases.json - LATEST=$(jq -r '[.[]|select(.variant == "Container" and .subvariant == "Container_Base" and .arch == "x86_64")][0]|.version' fedora-releases.json) + LATEST=$(jq -r '[.[]|select(.version | contains("Beta") | not)|select(.variant == "Container" and .subvariant == "Container_Base" and .arch == "x86_64")][0]|.version' fedora-releases.json) PREVIOUS=$((LATEST - 1)) echo "latest=$LATEST" >> $GITHUB_OUTPUT