From a71f4e415db51aad3bf011ec2a2ceedc99ab78cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 18 Sep 2023 14:58:02 +0200 Subject: [PATCH] Use rhbz# in message This way bodhi should be able to link the update to the bug automatically. The bug number is moved from the git commit title to the body. We don't really need this clutter in the git log, it is only useful in the %changelog so that bodhi can pick it up. [skip changelog] --- version-update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/version-update.sh b/version-update.sh index 0f45f2d..dee64dc 100755 --- a/version-update.sh +++ b/version-update.sh @@ -32,7 +32,9 @@ if [ "$sum1" != "$sum2" ]; then fi git add *.spec -git commit -a -m "Version $version (#$bug)" +git commit -a -m "Version $version + +... (rhbz#$bug)" if [ "$args" = "-u" ]; then git push