commit: a26fb6ab484eee18916765125c5dc9c49cc350a6
parent d3871fa3600070f909eba61699c6e36d68f8de4d
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Sun, 28 Aug 2022 10:24:01 -0400
Display error info
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -44,7 +44,8 @@ check-changelog:
rules:
- if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
script:
- - count=0; for i in changelog.d/"$CI_MERGE_REQUEST_IID".{add,remove,fix,security,skip}; do [ -f "$i" ]; count=$(( $count + 1 - $? )); done; [ $count -eq 1 ]
+ - echo $CI_MERGE_REQUEST_IID
+ - count=0; for i in changelog.d/"$CI_MERGE_REQUEST_IID".{add,remove,fix,security,skip}; do [ -f "$i" ]; count=$(( $count + 1 - $? )); done; if [ $count -eq 1 ]; then echo "ok"; else echo "must have a changelog entry or explicitly skip it"; exit 1; fi
build:
stage: build