diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 988b9d7042669f34e23c7015e0f8256c4bb7dc21..cd36a6aa275355fa1da3e98f6c72fe6f9bf70ef1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,6 +51,10 @@ prepare: curl --header "PRIVATE-TOKEN: ${RELEASE_IT_TOKEN}" --request PUT "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/merge_requests/${CI_MERGE_REQUEST_IID}?target_branch=main" + - >- + curl + --header "PRIVATE-TOKEN: ${RELEASE_IT_TOKEN}" + --request PUT "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/merge_requests/${CI_MERGE_REQUEST_IID}?description=$(npx release-it --ci --no-npm --changelog)" rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^[0-9]+-next-release/ &&