Add scripts to add provider to store description

Should also add before (for first provider), not only after.
This commit is contained in:
Davide De Rosa 2020-05-15 13:24:52 +02:00
parent 81fcb923b4
commit 9282525be0
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
PATTERN="fastlane/metadata/*/description.txt"
AFTER=$1
NAME=$2
DELIMITER="†"
for FILE in `ls $PATTERN`; do
sed -E "s/${AFTER}/${AFTER}${DELIMITER}- ${NAME}/g" $FILE | tr $DELIMITER '\n' >$FILE.tmp
mv $FILE.tmp $FILE
done