DEV: Don't create backups during version bumps (#25484)

This commit is contained in:
Isaac Janzen 2024-01-30 11:41:15 -07:00 committed by GitHub
parent a4022f69f3
commit 491e7a3429
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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", "."