mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
14 lines
378 B
Bash
Executable file
14 lines
378 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# script for syncing translations from transifex and comitting the changes.
|
|
# exit if either the pulls or the test fail
|
|
|
|
npm run pull:editor
|
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi #exit if pull failed
|
|
npm run test
|
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi #exit if test failed
|
|
git add .
|
|
|
|
git commit -m "pull new editor translations from Transifex"
|
|
|
|
git push
|