Skip to content
Snippets Groups Projects
Verified Commit d7b2c8bb authored by ornanovitch's avatar ornanovitch
Browse files

chore(ci): add changelog to MR description

parent c8e128f5
No related branches found
No related tags found
2 merge requests!86Draft: Resolve "next release",!84chore: release protocol
Pipeline #31514 passed
......@@ -50,6 +50,8 @@ 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"
--request PUT -d "description=$(npx release-it --no-npm --changelog --verbose)"
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/merge_requests/${CI_MERGE_REQUEST_IID}"
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" &&
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^[0-9]+-next-release/ &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment