mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Implement automatic crowdin strings upload in AppVeyor (#937)
* Initial crowdin-ci integration * Fix syntax * Fix detached heads * Fix syntax for java-only installs * Finish the PR * Misc
This commit is contained in:
committed by
GitHub
parent
45e5117f22
commit
5471394bab
@@ -2,52 +2,6 @@ Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
||||
Set-Location $PSScriptRoot
|
||||
Set-Location ..\\..
|
||||
|
||||
Push-Location -Path ASF-ui
|
||||
git reset --hard
|
||||
git clean -fd
|
||||
git pull
|
||||
Pop-Location
|
||||
|
||||
Push-Location -Path ASF-WebConfigGenerator
|
||||
git reset --hard
|
||||
git clean -fd
|
||||
git pull
|
||||
Pop-Location
|
||||
|
||||
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
|
||||
|
||||
Push-Location -Path ASF-ui
|
||||
git pull
|
||||
git add -A "src\i18n\locale\*.json"
|
||||
git commit -m "Translations update"
|
||||
Pop-Location
|
||||
|
||||
Push-Location -Path ASF-WebConfigGenerator
|
||||
git pull
|
||||
git add -A "src\locale\*.json"
|
||||
git commit -m "Translations update"
|
||||
Pop-Location
|
||||
|
||||
Push-Location -Path wiki
|
||||
git pull
|
||||
git add -A "locale\*.md"
|
||||
git commit -m "Translations update"
|
||||
Pop-Location
|
||||
|
||||
git add -A "ArchiSteamFarm\Localization\*.resx" "ASF-ui" "ASF-WebConfigGenerator" "wiki"
|
||||
git commit -m "Translations update"
|
||||
|
||||
git push --recurse-submodules=on-demand
|
||||
Push-Location "$PSScriptRoot\..\.."
|
||||
& archi_core.ps1 --upload --download
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user