diff options
author | Ed Warnicke <eaw@cisco.com> | 2016-06-15 23:17:07 -0500 |
---|---|---|
committer | Chris Luke <chris_luke@cable.comcast.com> | 2016-06-17 03:13:59 +0000 |
commit | 45050f8781a4ceb8b99068c75604b81a32b9cf84 (patch) | |
tree | a2c4073d1b62504adbea45302c55b58eecc07f12 /build-root/scripts/generate-deb-changelog | |
parent | 1c494840b186107155d2d1b332b5fdd26849ebc5 (diff) |
Fix generate-deb-changelog to handle YY.MM release
generate-deb-changelog was only properly handling x.y.z
releases. This patch fixes it to handle YY.MM.
Change-Id: Iaaee8ff747abd6754d021535c889f67ad2c9998f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
(cherry picked from commit 693f4358deef7db06b3d3cae0d881924dd9cf9fa)
Diffstat (limited to 'build-root/scripts/generate-deb-changelog')
-rwxr-xr-x | build-root/scripts/generate-deb-changelog | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/scripts/generate-deb-changelog b/build-root/scripts/generate-deb-changelog index a143431257f..7bdc6337b0a 100755 --- a/build-root/scripts/generate-deb-changelog +++ b/build-root/scripts/generate-deb-changelog @@ -30,7 +30,7 @@ if [ -n "${ADDS}" ]; then print_changelog_item fi -for TAG in $(git tag -l 'v[0-9].[0-9].[0-9]' | sort -r ); do +for TAG in $(git tag -l 'v[0-9][0-9].[0-9][0-9]' | sort -r ); do VER=$(echo ${TAG}| sed -e 's/^v//') DESC=$(git tag -l -n20 ${TAG} | tail -n+2 | sed -e 's/^ */ /') print_changelog_item |