2018-05-09 06:47:38 +02:00
|
|
|
Set-StrictMode -Version Latest
|
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
|
$ProgressPreference = 'SilentlyContinue'
|
|
|
|
|
|
|
|
|
|
Set-Location $PSScriptRoot
|
|
|
|
|
Set-Location ..\\..
|
|
|
|
|
|
2018-09-22 22:23:53 +02:00
|
|
|
Push-Location -Path ASF-WebConfigGenerator
|
|
|
|
|
git reset --hard
|
|
|
|
|
git clean -fd
|
|
|
|
|
git pull
|
|
|
|
|
Pop-Location
|
|
|
|
|
|
2018-05-09 06:47:38 +02:00
|
|
|
Push-Location -Path wiki
|
|
|
|
|
git reset --hard
|
|
|
|
|
git clean -fd
|
|
|
|
|
git pull
|
|
|
|
|
Pop-Location
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2018-09-22 22:23:53 +02:00
|
|
|
Push-Location -Path ASF-WebConfigGenerator
|
|
|
|
|
git pull
|
|
|
|
|
git add -A "src\locale\*.json"
|
|
|
|
|
git commit -m "Translations update"
|
|
|
|
|
Pop-Location
|
|
|
|
|
|
2018-05-09 06:47:38 +02:00
|
|
|
Push-Location -Path wiki
|
|
|
|
|
git pull
|
|
|
|
|
git add -A "locale\*.md"
|
|
|
|
|
git commit -m "Translations update"
|
|
|
|
|
Pop-Location
|
|
|
|
|
|
2018-09-23 02:44:06 +02:00
|
|
|
git add -A "ArchiSteamFarm\Localization\*.resx" "ASF-WebConfigGenerator" "wiki"
|
2018-05-09 06:47:38 +02:00
|
|
|
git commit -m "Translations update"
|
|
|
|
|
|
|
|
|
|
git push --recurse-submodules=on-demand
|
|
|
|
|
pause
|