Adjust the release script to an older Git client
This commit is contained in:
parent
02280e6171
commit
0cc3817216
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def merge_branch_to_master(branch, tag, message, repo_path)
|
|||
"git merge --no-ff -Xtheirs #{branch}",
|
||||
"git tag -a -f #{tag} -m '#{message}'"
|
||||
]
|
||||
cmds.insert(0, "git branch master origin/master") if `git branch --list master`.strip.empty?
|
||||
cmds.insert(0, "git branch master origin/master") unless branch_exists?(path, "master")
|
||||
approve_and_execute(cmds, "in #{path}")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue