Signal-iOS/Scripts/set_release_notes
2021-05-02 10:26:07 -07:00

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