passepartout-apple/fastlane/metadata/symlink-release-notes.sh
Davide d8f5aed665
Update release notes on bump (#965)
Refine symlink scripts too.
2024-11-29 00:10:22 +01:00

16 lines
325 B
Bash
Executable File

#!/bin/bash
# run inside iOS/macOS/tvOS directory
for SRC in `ls -d */`; do
if [[ "$SRC" == "en-US/" ]] || [[ "$SRC" == "review_information/" ]]; then
echo "Skip $SRC"
continue
fi
DST="en-US"
echo "Symlink from $SRC to $DST"
cd $DST
ln -sf "../$SRC/release_notes.txt"
cd ..
done