ci: Commit extracted messages after rebase

Otherwise rebase fails because state is dirty

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-07-12 13:59:35 -04:00
parent 4ac7a1fac2
commit f2f2822090

View File

@ -28,10 +28,7 @@ jobs:
# branch updating
fetch-depth: 0
- name: Extract messages
run: ./setup.py extract_messages
- name: Push to translations branch
- name: Extract messages and push to translations branch
run: |
git config --global user.email "actions@github.com"
git config --global user.name "Github Actions"
@ -39,6 +36,7 @@ jobs:
git fetch --all
git rebase remotes/origin/translations
./setup.py extract_messages
git commit po/virt-manager.pot \
--message "Refresh translation .pot template"