summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-04-04 16:20:46 +0000
committertusooa <tusooa@kazv.moe>2023-04-04 16:20:46 +0000
commit89a40b867df13205e710c136e5c6cd9be1b76733 (patch)
treee061d27dba6ab5d191ed0c8a9fd27dc137a35b1e
parent6aa9b023f04e3151c85591ac02796c4536fa7958 (diff)
downloadpleroma-89a40b867df13205e710c136e5c6cd9be1b76733.tar.gz
pleroma-89a40b867df13205e710c136e5c6cd9be1b76733.zip
Allow more than 1 changelog entry
-rw-r--r--tools/check-changelog4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-changelog b/tools/check-changelog
index 970f3066f..c3e9e07c7 100644
--- 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