scratch-l10n/scripts/update-translations.sh
Christopher Willis-Ford 94c3353f54 feat: mark automated Transifex updates as fixes
Marking this a `feat` because it's effectively a versioning scheme
change.
2024-01-16 10:33:13 -08:00

15 lines
452 B
Bash
Executable file

#!/bin/bash
# script for syncing translations from transifex and comitting the changes.
# exit script if any command returns a non-zero return code:
set -ev
npm run pull:editor
npm run pull:www
npm run test
# commit any updates and push. Build and release should happen on the push not here.
git add .
git commit -m "fix: pull new editor translations from Transifex"
git push https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git HEAD:master