logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 686c3e03bd6c13e732e95d2f81cc4bcd0acf015a
parent 89a40b867df13205e710c136e5c6cd9be1b76733
Author: tusooa <tusooa@kazv.moe>
Date:   Tue,  4 Apr 2023 12:24:45 -0400

Fix counting

Diffstat:

Mtools/check-changelog6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/check-changelog b/tools/check-changelog @@ -1,14 +1,14 @@ #!/bin/sh -echo $CI_MERGE_REQUEST_IID -ls changelog.d +echo "looking for change log of $CI_MERGE_REQUEST_IID" + count=0 for i in add remove fix security skip; do [ -f changelog.d/"$CI_MERGE_REQUEST_IID"."$i" ] retcode=$? if [ $retcode -eq 0 ]; then echo "found $CI_MERGE_REQUEST_IID.$i" - count=$(( count++ )) + count=$(( count + 1 )) else echo "no $CI_MERGE_REQUEST_IID.$i" fi