Skip to content

Commit 8a33221

Browse files
authored
fix: Use correct branch instead of hard-coded one in release script (#804)
1 parent 0a280bc commit 8a33221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish-new-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ PLAYBOOK_FILES=("$DOCS_DIRECTORY/antora-playbook.yml" "$DOCS_DIRECTORY/local-ant
110110
# Loop through each playbook file
111111
for yaml_file in "${PLAYBOOK_FILES[@]}"; do
112112
# Update all sources except stackable-cockpit.
113-
yq "with(.content.sources.[]; select(.url | test(\".*(stackable-cockpit).*\") | not) | .branches |= .[:1] + [\"release-25.7\"] + .[1:])" -i "$yaml_file"
113+
yq "with(.content.sources.[]; select(.url | test(\".*(stackable-cockpit).*\") | not) | .branches |= .[:1] + [\"$BRANCH\"] + .[1:])" -i "$yaml_file"
114114
done
115115

116116
# ------------------------------

0 commit comments

Comments
 (0)