mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 13:42:30 -05:00
7d3a81799f
And commit to master
14 lines
430 B
Bash
Executable file
14 lines
430 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 test
|
|
|
|
# commit any updates and push. Build and release should happen on the push not here.
|
|
git add .
|
|
git commit -m "pull new editor translations from Transifex"
|
|
git push https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git HEAD:master
|