mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2025-12-20 03:30:11 +01:00
ci: Fix exiting on no-potfile changes
This commit is contained in:
parent
3d6c236af8
commit
3a3b4574a8
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ update_potfile_dev:
|
||||||
- git config --global user.name "${GITLAB_USER_NAME}"
|
- git config --global user.name "${GITLAB_USER_NAME}"
|
||||||
- git remote set-url --push origin
|
- git remote set-url --push origin
|
||||||
"https://gitlab-ci-token:${FPRINTD_GITLAB_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
|
"https://gitlab-ci-token:${FPRINTD_GITLAB_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
|
||||||
- if git diff --exit-code --ignore-matching-lines=POT-Creation-Date po/fprintd.pot; then echo exit; fi
|
- if git diff --exit-code --ignore-matching-lines=POT-Creation-Date po/fprintd.pot; then exit 0; fi
|
||||||
- git add po/fprintd.pot
|
- git add po/fprintd.pot
|
||||||
- 'git commit -m "po/fprintd.pot: Update via pipeline $CI_PIPELINE_ID"'
|
- 'git commit -m "po/fprintd.pot: Update via pipeline $CI_PIPELINE_ID"'
|
||||||
- git push origin HEAD:refs/heads/master -o ci.skip
|
- git push origin HEAD:refs/heads/master -o ci.skip
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue