0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 10:04:11 +01:00

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

View file

@ -24,8 +24,10 @@ pipeline:
update-translations:
image: alpine:3.6
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' ./options/locale/*.ini
- mv ./options/locale_en-US.ini ./options/locale/
when:
event: [ push ]
branch: [ master ]