diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-28 10:24:01 -0400 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-28 10:24:01 -0400 |
commit | a26fb6ab484eee18916765125c5dc9c49cc350a6 (patch) | |
tree | 3e94225c2568e23404977d76d5cea8a5ef8b9b38 /.gitlab-ci.yml | |
parent | d3871fa3600070f909eba61699c6e36d68f8de4d (diff) | |
download | pleroma-a26fb6ab484eee18916765125c5dc9c49cc350a6.tar.gz pleroma-a26fb6ab484eee18916765125c5dc9c49cc350a6.zip |
Display error info
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24805bd4a..bd6a5b82f 100644 --- 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 |