Skip to content

Commit

Permalink
commit updated en-us translation back to i18n repo
Browse files Browse the repository at this point in the history
[#157198111]
  • Loading branch information
tjvman committed Apr 30, 2018
1 parent 89ab512 commit f985bc7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ jobs:
- put: upload-translation-zip
params:
file: outputs/all.json.zip
- put: cli-i18n
params:
repository: cli-i18n
on_failure:
put: slack-alert
params:
Expand Down
9 changes: 9 additions & 0 deletions ci/tasks/generate-i18n-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@ run:
go run cli-i18n/bin/reformat_translated_json.go ./
mv *all.json updated-translation-files
mv en-us.all.json cli-i18n/resources/en-us.all.json
pushd cli-i18n
git config --global user.email "cf-cli-eng@pivotal.io"
git config --global user.name "cf-cli-eng"
git add ./resources/en-us.all.json
git commit -m "Updating en-us translation file"
popd

0 comments on commit f985bc7

Please sign in to comment.