mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2024-11-13 16:56:28 +00:00
12 lines
366 B
Bash
12 lines
366 B
Bash
|
#!/usr/bin/env bash
|
||
|
if [[ $TRAVIS_PULL_REQUEST == "false" && $TRAVIS_BRANCH == "master" ]]; then
|
||
|
echo -e "Starting translation update\n"
|
||
|
|
||
|
#download the Crowdin CLI app and update the sources
|
||
|
wget https://crowdin.com/downloads/crowdin-cli.jar
|
||
|
java -jar crowdin-cli.jar upload sources
|
||
|
rm crowdin-cli.jar
|
||
|
|
||
|
echo -e "en-GB language sources synchronized\n"
|
||
|
fi
|