aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-06-15 23:17:07 -0500
committerEd Warnicke <eaw@cisco.com>2016-06-15 23:18:38 -0500
commit693f4358deef7db06b3d3cae0d881924dd9cf9fa (patch)
treeb2976385bf946de4a3b520ac2838cffb09c19cae
parent1f25d1a2ec19283635b039e527edcee0e9301748 (diff)
Fix generate-deb-changelog to handle YY.MM releasev16.06stable/1606
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>
-rwxr-xr-xbuild-root/scripts/generate-deb-changelog2
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