Update Check CHANGELOG

This commit is contained in:
Fabrice Reix 2023-01-25 13:36:37 +01:00
parent 4c2f2abe8d
commit 12fc9421c4
No known key found for this signature in database
GPG Key ID: 8D3D9DBDD96B2D30

View File

@ -5,8 +5,7 @@ set -Eeuo pipefail
version=$(head -1 <CHANGELOG.md| cut -d" " -f1 | cut -d'[' -f2) version=$(head -1 <CHANGELOG.md| cut -d" " -f1 | cut -d'[' -f2)
echo "version=$version" echo "version=$version"
changelog=$(bin/release/changelog_extract.py "$version" | grep '^\* ') changelog=$(bin/release/changelog_extract.py "$version" | grep '^\* ')
echo "get_release_note.py" issues=$(bin/release/get_release_note.py "$version" | grep '^\* ')
issues=$(bin/release/get_release_note.py "$version" 2>/dev/null | grep '^\* ')
if [ "$changelog" != "$issues" ]; then if [ "$changelog" != "$issues" ]; then
echo "Diff in issues in CHANGELOG" echo "Diff in issues in CHANGELOG"