diff options
author | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-28 11:13:36 -0400 |
---|---|---|
committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-08-28 11:13:36 -0400 |
commit | 6aa9b023f04e3151c85591ac02796c4536fa7958 (patch) | |
tree | c4e695a0c6192f77b9ad7142e281c7025a346546 /.gitlab-ci.yml | |
parent | f8566e91a69571ae0b9d49867c844eeb575786f0 (diff) | |
download | pleroma-6aa9b023f04e3151c85591ac02796c4536fa7958.tar.gz pleroma-6aa9b023f04e3151c85591ac02796c4536fa7958.zip |
Use dedicated script
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47918a538..f75dc656f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,26 +48,7 @@ check-changelog: after_script: '' cache: {} script: - - echo $CI_MERGE_REQUEST_IID - - > - ls changelog.d - 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" - else - echo "no $CI_MERGE_REQUEST_IID.$i" - fi - count=$(( $count + 1 - $retcode )) - done - if [ $count -eq 1 ]; then - echo "ok" - else - echo "must have a changelog entry or explicitly skip it" - exit 1 - fi + - sh ./tools/check-changelog build: stage: build |