And conversely, quote the base directory in case it has spaces in the path. The script is now Shellcheck-clean.
14 lines
353 B
Bash
Executable File
14 lines
353 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"
|
|
|
|
"${BASE_DIR}"/Scripts/translation/push-metadata-source
|
|
"${BASE_DIR}"/Scripts/translation/pull-metadata-translations
|