passepartout-apple/scripts/copy-release-notes.sh
2019-10-11 18:44:53 +02:00

15 lines
281 B
Bash
Executable File

#!/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