passepartout-apple/ci/copy-release-notes.sh

17 lines
320 B
Bash
Raw Normal View History

#!/bin/bash
2024-09-22 13:53:31 +00:00
. fastlane/.env.$1
RELEASE_NOTES="release_notes"
RX='^[a-z]{2}(\-[A-z]+)?$'
cd "$DELIVER_METADATA_PATH"
for LANG in `ls -d *`; do
if [[ $LANG == "en-US" ]]; then
continue
fi
if [[ ! $LANG =~ $RX ]]; then
continue
fi
#echo $LANG
cp en-US/$RELEASE_NOTES.txt $LANG
done