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>
This commit is contained in:
@ -30,7 +30,7 @@ if [ -n "${ADDS}" ]; then
|
|||||||
print_changelog_item
|
print_changelog_item
|
||||||
fi
|
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//')
|
VER=$(echo ${TAG}| sed -e 's/^v//')
|
||||||
DESC=$(git tag -l -n20 ${TAG} | tail -n+2 | sed -e 's/^ */ /')
|
DESC=$(git tag -l -n20 ${TAG} | tail -n+2 | sed -e 's/^ */ /')
|
||||||
print_changelog_item
|
print_changelog_item
|
||||||
|
Reference in New Issue
Block a user