From ec0f92aac03cea27168d3982601f40b863943a3c Mon Sep 17 00:00:00 2001 From: Shenwei Wang Date: Sat, 28 Dec 2019 02:19:24 +0800 Subject: [PATCH] fix(version): pass `--atomic` to `git push` (#2393) Fixes #2392 --- commands/version/lib/git-push.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/version/lib/git-push.js b/commands/version/lib/git-push.js index 7ccbd955af..43be5e7a13 100644 --- a/commands/version/lib/git-push.js +++ b/commands/version/lib/git-push.js @@ -8,5 +8,5 @@ module.exports = gitPush; function gitPush(remote, branch, opts) { log.silly("gitPush", remote, branch); - return childProcess.exec("git", ["push", "--follow-tags", "--no-verify", remote, branch], opts); + return childProcess.exec("git", ["push", "--follow-tags", "--atomic", "--no-verify", remote, branch], opts); }