fix(scripts): replace all occurrences of version marker (#10865)

Related: #10860
This commit is contained in:
Thomas Eizinger
2025-11-12 13:20:15 +11:00
committed by GitHub
parent 64da55707f
commit 94985a7b77

View File

@@ -49,7 +49,7 @@ function update_version_marker() {
# Use git grep to find files containing the marker (much faster and git-aware)
git grep -l "$marker" 2>/dev/null | while IFS= read -r file; do
sed "${SEDARG[@]}" -e "/${marker}/{n;s/[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}/${new_version}/;}" "$file"
sed "${SEDARG[@]}" -e "/${marker}/{n;s/[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}/${new_version}/g;}" "$file"
done
}