Re-add CG as a submodule

This commit is contained in:
JustArchi
2018-09-22 22:23:53 +02:00
parent 17765506fb
commit e2beedd560
86 changed files with 58 additions and 21268 deletions

View File

@@ -4,6 +4,12 @@ set -eu
cd "$(dirname "$(readlink -f "$0")")"
cd ../..
cd ASF-WebConfigGenerator
git reset --hard
git clean -fd
git pull
cd ..
cd wiki
git reset --hard
git clean -fd
@@ -15,13 +21,19 @@ crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml upload sourc
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" "ArchiSteamFarm/www/locale/*.json" "WebConfigGenerator/src/locale/*.json" "wiki"
git add -A "ArchiSteamFarm/Localization/*.resx" "ArchiSteamFarm/www/locale/*.json" "ASF-WebConfigGenerator" "wiki"
git commit -m "Translations update"
git push --recurse-submodules=on-demand