mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:53:44 +08:00
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
Block a user