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 # ------------------------------