diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /private/post-release-version-bump | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'private/post-release-version-bump')
-rwxr-xr-x | private/post-release-version-bump | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/private/post-release-version-bump b/private/post-release-version-bump new file mode 100755 index 0000000..1f5556a --- /dev/null +++ b/private/post-release-version-bump @@ -0,0 +1,15 @@ +#!/bin/sh + +# Post-release version bump script. Not really lintian-specific, but needed here. + +set -e + +if head -1 debian/changelog | grep -Fq 'UNRELEASED' ; then + echo 'Most recent debian/changelog entry already sports an "UNRELEASED", doing nothing.' + exit 1; +fi + +dch --increment 'WIP (generated at release time: please do not add entries below.)' +sed -e '1 s/)/~git)/' -i debian/changelog +git add debian/changelog +git commit -m "Post-release version bump" -m "Gbp-Dch: Ignore" |