Browse Source

chore(tools): make deweblate script automatically use last commit msg

pull/3924/head
Zetok Zalbavar 9 years ago
parent
commit
78b242a418
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 3
      tools/deweblate-translation-file.sh

3
tools/deweblate-translation-file.sh

@ -53,8 +53,9 @@ get_filename() { @@ -53,8 +53,9 @@ get_filename() {
# call the other script to update && amend
update() {
local file=$(get_filename)
local commit_msg=$(get_commit_title)
./tools/update-translation-files.sh "$file"
git commit -S --amend "$file"
git commit -S --amend -m "$commit_msg" "$file"
}

Loading…
Cancel
Save