fix update-translations on drone (#2822)

This commit is contained in:
Lunny Xiao 2017-11-01 23:46:28 +08:00 committed by GitHub
parent 1ccaddcfbb
commit c7ade55d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -24,8 +24,10 @@ pipeline:
update-translations: update-translations:
image: alpine:3.6 image: alpine:3.6
commands: commands:
- mv ./options/locale/locale_en-US.ini ./options/
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini - sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
- sed -i -e 's/\\"/"/g' ./options/locale/*.ini - sed -i -e 's/\\"/"/g' ./options/locale/*.ini
- mv ./options/locale_en-US.ini ./options/locale/
when: when:
event: [ push ] event: [ push ]
branch: [ master ] branch: [ master ]