passepartout-apple/scripts/copy-release-notes.sh
Davide 6e8f10f919
Improve CI and local scripts (#1020)
- Move non-CI scripts to "scripts"
- Use lowercase variables consistently
- Work with relative paths
- Work with environment
- Parametrize Xcode build/version number (move uniq last)
2024-12-17 13:10:43 +01:00

14 lines
265 B
Bash
Executable File

#!/bin/bash
cwd=`dirname $0`
source $cwd/env.sh
cd $cwd/..
if [[ -n "$1" ]]; then
platforms="$1"
fi
for platform in $platforms; do
release_notes="$metadata_root/$platform/$metadata_path"
rm -f "$release_notes"
cp "$changelog" "$release_notes"
done