commit: 89a40b867df13205e710c136e5c6cd9be1b76733
parent 6aa9b023f04e3151c85591ac02796c4536fa7958
Author: Haelwenn <contact+git.pleroma.social@hacktivis.me>
Date: Tue, 4 Apr 2023 16:20:46 +0000
Allow more than 1 changelog entry
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/check-changelog b/tools/check-changelog
@@ -8,12 +8,12 @@ for i in add remove fix security skip; do
retcode=$?
if [ $retcode -eq 0 ]; then
echo "found $CI_MERGE_REQUEST_IID.$i"
+ count=$(( count++ ))
else
echo "no $CI_MERGE_REQUEST_IID.$i"
fi
- count=$(( $count + 1 - $retcode ))
done
-if [ $count -eq 1 ]; then
+if [ $count -gt 0 ]; then
echo "ok"
exit 0
else