mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-07-20 12:14:45 +02:00
bin/make-snapshot: Auto resolve composer.lock conflicts
dependabot seems to use an older composer version, causing conflicts with the property `plugin-api-version`. Anyway, the merge leading to the conflict is only done to make a tag reachable. So the composer.lock of the main branch is always the right choice.
This commit is contained in:
parent
6c862b2ab8
commit
a3a9a0f9a8
@ -21,7 +21,7 @@ git checkout -b $BRANCH
|
||||
|
||||
git mv composer.lock composer.lock.bak
|
||||
git commit -am "Backup composer.lock"
|
||||
git merge --no-ff -m "Merge latest tag, package pipelines require it" $LATEST_TAG
|
||||
git merge --no-ff -m "Merge latest tag, package pipelines require it" $LATEST_TAG || git checkout --ours composer.lock.bak && git add composer.lock.bak && git commit --no-edit
|
||||
git mv -f composer.lock.bak composer.lock
|
||||
git commit -am "Restore composer.lock"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user