mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(tools): make deweblate script automatically use last commit msg
This commit is contained in:
parent
392dfce9ff
commit
78b242a418
|
@ -53,8 +53,9 @@ get_filename() {
|
||||||
# call the other script to update && amend
|
# call the other script to update && amend
|
||||||
update() {
|
update() {
|
||||||
local file=$(get_filename)
|
local file=$(get_filename)
|
||||||
|
local commit_msg=$(get_commit_title)
|
||||||
./tools/update-translation-files.sh "$file"
|
./tools/update-translation-files.sh "$file"
|
||||||
git commit -S --amend "$file"
|
git commit -S --amend -m "$commit_msg" "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user