Use keep redundant commit
This commit is contained in:
parent
379a7b1002
commit
022b3cbf19
2
.github/workflows/fork-sync.yml
vendored
2
.github/workflows/fork-sync.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
git checkout -b release/${TAG} ${TAG}
|
||||
git rm .github/workflows/*
|
||||
git commit -m "Remove existing workflows"
|
||||
git rev-list --no-merges --reverse main ^upstream/main | git cherry-pick --stdin --allow-empty
|
||||
git rev-list --no-merges --reverse main ^upstream/main | git cherry-pick --stdin --keep-redundant-commits
|
||||
done
|
||||
for TAG in ${NEW_TAGS}; do
|
||||
git push -u origin release/${TAG}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user