check version is in changelog (pushed and current tree updated) before proceeding

This commit is contained in:
ralf 2023-03-30 09:04:38 +02:00
parent 29b2615f36
commit 52c4567a2f

View File

@ -42,6 +42,16 @@ done
exit 1
}
# check $version is already in changelog
grep -q "$version.$packaging" $(dirname $0)/debian.changes || {
git pull
grep -q "$version.$packaging" $(dirname $0)/debian.changes || {
echo "No $version.$packaging in changelog ($(dirname $0)/debian.changes)!"
echo "Did you pushed it to the branch?"
exit 1
}
}
ucs=4.4
univention-appcenter-control list | tee /tmp/ucs-apps | egrep "$ucs/egroupware=$version.$packaging$postfix" || {