Files
ArchiSteamFarm/tools/crowdin-cli/archi_download.sh
JustArchi c82784c33b Misc
2018-09-23 02:44:06 +02:00

27 lines
545 B
Bash
Executable File

#!/bin/bash
set -eu
cd "$(dirname "$(readlink -f "$0")")"
cd ../..
crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml download
git reset
cd ASF-WebConfigGenerator
git pull
git add -A "src/locale/*.json"
git commit -m "Translations update"
cd ..
cd wiki
git pull
git add -A "locale/*.md"
git commit -m "Translations update"
cd ..
git add -A "ArchiSteamFarm/Localization/*.resx" "ASF-WebConfigGenerator" "wiki"
git commit -m "Translations update"
git push --recurse-submodules=on-demand
read -p "Press enter to continue..."