mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 02:18:47 +00:00
fix(scripts): replace all occurrences of version marker (#10865)
Related: #10860
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user