]> source.dussan.org Git - gitea.git/commitdiff
fix update-translations on drone (#2822)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 1 Nov 2017 15:46:28 +0000 (23:46 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2017 15:46:28 +0000 (23:46 +0800)
.drone.yml

index 5151c2a33641a370e26c9fc95c9e7d52efb8d2ad..ac513ff34b9b982a8d316e7bfa0fa673b42b13aa 100644 (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 ]