forked from p85947160/gitea
fix update-translations on drone (#2822)
This commit is contained in:
parent
1ccaddcfbb
commit
c7ade55d39
|
@ -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 ]
|
||||||
|
|
Loading…
Reference in New Issue