DEV: Don't create backups during version bumps (#25484)
This commit is contained in:
parent
a4022f69f3
commit
491e7a3429
|
@ -340,7 +340,8 @@ task "version_bump:major_stable_merge", [:version_bump_ref] do |t, args|
|
|||
|
||||
git "merge", "--no-commit", merge_ref, allow_failure: true
|
||||
|
||||
out, status = Open3.capture2e "git diff --binary #{merge_ref} | patch -p1 -R"
|
||||
out, status =
|
||||
Open3.capture2e "git diff --binary #{merge_ref} | patch -p1 -R --no-backup-if-mismatch"
|
||||
raise "Error applying diff\n#{out}}" unless status.success?
|
||||
|
||||
git "add", "."
|
||||
|
|
Loading…
Reference in New Issue