mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
29 lines
624 B
Bash
Executable File
29 lines
624 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
cd "$(dirname "$(readlink -f "$0")")"
|
|
cd ../..
|
|
|
|
cd wiki
|
|
git reset --hard
|
|
git clean -fd
|
|
git pull
|
|
cd ..
|
|
|
|
crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml upload sources
|
|
|
|
crowdin -b master --identity tools/crowdin-cli/crowdin_identity.yml download
|
|
git reset
|
|
|
|
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 commit -m "Translations update"
|
|
|
|
git push --recurse-submodules=on-demand
|
|
read -p "Press enter to continue..."
|