Merge branch 'cherry7' into 'master'
CI: Fetch minimal history before GitHub push See merge request u-boot/u-boot!278
This commit is contained in:
@@ -978,5 +978,7 @@ trigger_snap_builds:
|
||||
git config --global --add safe.directory $CI_PROJECT_DIR
|
||||
cd $CI_PROJECT_DIR
|
||||
git remote add github git@github.com:sjg20/u-boot-concept.git || true
|
||||
git fetch github master --depth=1
|
||||
git fetch origin --shallow-since=$(git log -1 --format=%ci github/master)
|
||||
git push github HEAD:master --force
|
||||
echo "GitHub push completed"
|
||||
|
||||
Reference in New Issue
Block a user