Allow more than 1 changelog entry
This commit is contained in:
parent
6aa9b023f0
commit
89a40b867d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user