Add script to copy English release notes

This commit is contained in:
Davide De Rosa 2019-07-27 10:02:07 +02:00
parent 57c23085fb
commit eb515a3f53
1 changed files with 14 additions and 0 deletions

14
ci/copy-release-notes.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
METADATA="release_notes"
RX='^[a-z]{2}(\-[A-z]+)?$'
cd fastlane/metadata
for LANG in `ls -d *`; do
if [[ $LANG == "en-US" ]]; then
continue
fi
if [[ ! $LANG =~ $RX ]]; then
continue
fi
#echo $LANG
cp en-US/$METADATA.txt $LANG
done