Update roles/home/scripts/commits.sh
This commit is contained in:
parent
87cb9db256
commit
c1537b7088
@ -189,15 +189,6 @@ create_pr_from_commit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
anonymize_multiple() {
|
anonymize_multiple() {
|
||||||
while IFS= read -r line; do
|
sed -e 's/kerosene/org/gi' \
|
||||||
result="$line"
|
-e 's/shelob/project/gi' -e 's/rokuos/project/gi' -e 's/roku/org/gi' -e 's/bayside/codename/gi'
|
||||||
# Simple sed with multiple patterns
|
|
||||||
echo "$result" | sed '
|
|
||||||
s/github.pie.apple.com/github.com/g;
|
|
||||||
s/Kerosene/org/g;
|
|
||||||
s/kerosene/org/g;
|
|
||||||
s/Shelob/example/g;
|
|
||||||
s/shelob/example/g;
|
|
||||||
'
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user