pipeline update
This commit is contained in:
@ -29,6 +29,7 @@ composer_update:
|
|||||||
script:
|
script:
|
||||||
- git ${JOB_GIT_FLAGS} fetch origin ${TARGET_BRANCH}
|
- git ${JOB_GIT_FLAGS} fetch origin ${TARGET_BRANCH}
|
||||||
- git ${JOB_GIT_FLAGS} checkout ${TARGET_BRANCH}
|
- git ${JOB_GIT_FLAGS} checkout ${TARGET_BRANCH}
|
||||||
|
- git reset --hard origin/main
|
||||||
- export DATE_TIME="$(date '+%Y%m%d%H%M%S')"
|
- export DATE_TIME="$(date '+%Y%m%d%H%M%S')"
|
||||||
- export MR_BRANCH="${UPDATE_BRANCH_PREFIX}${DATE_TIME}"
|
- export MR_BRANCH="${UPDATE_BRANCH_PREFIX}${DATE_TIME}"
|
||||||
- git ${JOB_GIT_FLAGS} checkout -b "${MR_BRANCH}"
|
- git ${JOB_GIT_FLAGS} checkout -b "${MR_BRANCH}"
|
||||||
|
Reference in New Issue
Block a user