From 21be05a81bf6493f0bcfb0141125681a9b0d9e66 Mon Sep 17 00:00:00 2001 From: Techassi Date: Mon, 17 Nov 2025 10:22:34 +0100 Subject: [PATCH] fix: Use correct branch instead of hard-coded one in release script --- scripts/publish-new-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-new-version.sh b/scripts/publish-new-version.sh index 4515cd67c..f1bf571bf 100755 --- a/scripts/publish-new-version.sh +++ b/scripts/publish-new-version.sh @@ -110,7 +110,7 @@ PLAYBOOK_FILES=("$DOCS_DIRECTORY/antora-playbook.yml" "$DOCS_DIRECTORY/local-ant # Loop through each playbook file for yaml_file in "${PLAYBOOK_FILES[@]}"; do # Update all sources except stackable-cockpit. - yq "with(.content.sources.[]; select(.url | test(\".*(stackable-cockpit).*\") | not) | .branches |= .[:1] + [\"release-25.7\"] + .[1:])" -i "$yaml_file" + yq "with(.content.sources.[]; select(.url | test(\".*(stackable-cockpit).*\") | not) | .branches |= .[:1] + [\"$BRANCH\"] + .[1:])" -i "$yaml_file" done # ------------------------------