mirror of https://github.com/searxng/searxng.git
[fix] weblate: separate commit description from commit body
It is a common convention to separate commit description from commit body by a empty line [1]. [1] https://www.conventionalcommits.org/en/v1.0.0/#summary Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
c351993fdc
commit
8069bc83e6
2
manage
2
manage
|
@ -229,7 +229,7 @@ weblate.translations.commit() {
|
|||
-d "searx/translations"
|
||||
# git add/commit (no push)
|
||||
commit_body=$(cd "${TRANSLATIONS_WORKTREE}"; git log --pretty=format:'%h - %as - %aN <%ae>' "${existing_commit_hash}..HEAD")
|
||||
commit_message=$(echo -e "[translations] update\n${commit_body}")
|
||||
commit_message=$(echo -e "[translations] update from Weblate\n\n${commit_body}")
|
||||
git add searx/translations
|
||||
git commit -m "${commit_message}"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue