Update roles/home/scripts/commits.sh
This commit is contained in:
parent
4d6a5292d9
commit
ec0899fed3
@ -187,3 +187,17 @@ create_pr_from_commit() {
|
|||||||
git stash pop
|
git stash pop
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
anonymize_multiple() {
|
||||||
|
while IFS= read -r line; do
|
||||||
|
result="$line"
|
||||||
|
# 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…
Reference in New Issue
Block a user