passepartout-apple/ci/copy-release-notes.sh
Davide De Rosa 157f336184 Embed fastlane scripts locally
Drop submodule.
2022-10-04 08:20:06 +02:00

17 lines
311 B
Bash
Executable File

#!/bin/bash
. .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