From b1bf27d53478ca1ea737b32f999a46e531257b9c Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Tue, 20 May 2025 13:56:06 +0300 Subject: [PATCH] [#3892] Make tools/bump-lib-versions.sh write to changelog_unreleased --- tools/bump-lib-versions.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/bump-lib-versions.sh b/tools/bump-lib-versions.sh index d608b12c45..c8516ba7f3 100755 --- a/tools/bump-lib-versions.sh +++ b/tools/bump-lib-versions.sh @@ -165,10 +165,11 @@ else release='development' fi -(echo "\ -TODO. [build] TODO +author=$(git show -s --format='%ae' | cut -d '@' -f 1) +branch=$(git branch --show-current) +gitlab_id=$(printf '%s' "${branch}" | cut -d '-' -f 1) +echo "\ +[build] ${author} The library version numbers have been bumped up for the Kea ${major}.${middle}.${minor} ${release} release. - (Gitlab #TODO) -" && cat ./ChangeLog) > ./ChangeLog.tmp -mv ./ChangeLog.tmp ./ChangeLog + (Gitlab #${gitlab_id})" > "./changelog_unreleased/${branch}"