mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add ssh protocol support for bitbucket.
This commit is contained in:
@@ -43,7 +43,11 @@ module MRuby
|
||||
if params[:github]
|
||||
params[:git] = "https://github.com/#{params[:github]}.git"
|
||||
elsif params[:bitbucket]
|
||||
params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
|
||||
if params[:method] == "ssh"
|
||||
params[:git] = "git@bitbucket.org:#{params[:bitbucket]}.git"
|
||||
else
|
||||
params[:git] = "https://bitbucket.org/#{params[:bitbucket]}.git"
|
||||
end
|
||||
end
|
||||
|
||||
if params[:core]
|
||||
|
||||
Reference in New Issue
Block a user