update plugin-translations.rb script to update .tx/config file in plugins when languages are added or removed

This commit is contained in:
Neil Lalonde 2018-09-10 14:22:45 -04:00
parent 6afc86398c
commit 4653627a40
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class PluginTxUpdater
system_cmd('bundle exec bin/pull_translations.rb')
system_cmd('git add config/locales/*')
system_cmd('git add Gemfile.lock') rescue true # might be gitignored
system_cmd('git add .tx/config') rescue true
system_cmd('git commit -m "Update translations"')
system_cmd('git push origin master') if @push
rescue => e