Skip to content
Snippets Groups Projects
Commit 0f2b7ae4 authored by jurgenhaas's avatar jurgenhaas
Browse files

#16 Create new mixin to merge a branch, use that in...

#16 Create new mixin to merge a branch, use that in various places and ensure composer packages to always merge in the release stage
parent 6f735f8b
Branches
No related tags found
No related merge requests found
...@@ -45,3 +45,21 @@ stages: ...@@ -45,3 +45,21 @@ stages:
.customreferences: .customreferences:
LanguageFiles: [] LanguageFiles: []
.merge:
stage: release
tags:
- default
variables:
GIT_STRATEGY: none
image: registry.lakedrops.com/docker/gitlab-drupal-ci/php-8.2
cache: {}
before_script: !reference [.prepareaccess, before_script]
script:
- rm -rf /tmp/release || true
- mkdir -p /tmp/release
- cd /tmp/release
- git clone -b $SOURCE_BRANCH git@${CI_SERVER_HOST}:$CI_PROJECT_PATH.git .
- merge
- cd -
- rm -rf /tmp/release || true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment