Allow more than 1 changelog entry

This commit is contained in:
Haelwenn 2023-04-04 16:20:46 +00:00 committed by tusooa
parent 6aa9b023f0
commit 89a40b867d

View file

@ -8,12 +8,12 @@ for i in add remove fix security skip; do
retcode=$? retcode=$?
if [ $retcode -eq 0 ]; then if [ $retcode -eq 0 ]; then
echo "found $CI_MERGE_REQUEST_IID.$i" echo "found $CI_MERGE_REQUEST_IID.$i"
count=$(( count++ ))
else else
echo "no $CI_MERGE_REQUEST_IID.$i" echo "no $CI_MERGE_REQUEST_IID.$i"
fi fi
count=$(( $count + 1 - $retcode ))
done done
if [ $count -eq 1 ]; then if [ $count -gt 0 ]; then
echo "ok" echo "ok"
exit 0 exit 0
else else