From 386ee44d78f89a0e2d269c140ed6ba382274c232 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Tue, 9 Jun 2026 08:39:26 +0200 Subject: [PATCH] fix(ci): use fallback hardcoded version of forgetool, in case latest version fetch fails --- .github/workflows/charts-release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index eb2799a8a43..a1af98ae98a 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -72,7 +72,10 @@ jobs: https://api.github.com/repos/trueforge-org/forgetool/releases/latest)"; then TAG="$(jq -r '.tag_name // empty' <<< "${RELEASES_JSON}")" fi - [ -n "${TAG}" ] && [ "${TAG}" != "null" ] || { echo "Failed to determine latest stable forgetool release tag"; exit 1; } + [ -n "${TAG}" ] && [ "${TAG}" != "null" ] || { + echo "Failed to determine latest stable forgetool release tag, falling back to v4.1.1" + TAG="v4.1.1" + } VERSION="${TAG#v}" VERSION="${VERSION#forgetool-v}" case "$(uname -m)" in