17 lines
527 B
Bash
Executable File
17 lines
527 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
BASE_DIR=$(git rev-parse --show-toplevel)
|
|
METADATA_ROOT="$BASE_DIR/fastlane/metadata"
|
|
|
|
# Open the editor for entering the changelog
|
|
"${VISUAL:-"${EDITOR:-vi}"}" "${METADATA_ROOT}/en-US/release_notes.txt"
|
|
|
|
# Delete all existing release note translations
|
|
find "${METADATA_ROOT}" -type d -path "${METADATA_ROOT}/en-US" -prune -false -o -type f -name 'release_notes.txt' | xargs rm
|
|
|
|
${BASE_DIR}/Scripts/translation/push-metadata-source
|
|
${BASE_DIR}/Scripts/translation/pull-metadata-translations
|