From: Ed Warnicke Date: Thu, 16 Jun 2016 04:17:07 +0000 (-0500) Subject: Fix generate-deb-changelog to handle YY.MM release X-Git-Tag: v16.06^0 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fstable%2F1606;p=vpp.git 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 --- 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