update-translations.sh 328 B

123456789101112
  1. #!/usr/bin/env bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
  3. SOURCE_DIR=${DIR}/../..
  4. source ${SOURCE_DIR}/scripts/version_number.sh
  5. lupdate -recursive ${SOURCE_DIR} -ts ${SOURCE_DIR}/i18n/qfield_en.ts
  6. # release only if the branch is master
  7. if [[ ${CI_BRANCH} = master ]]; then
  8. tx push --source
  9. fi