Skip to content
Snippets Groups Projects
Commit c3e773f1 authored by elijah's avatar elijah
Browse files

new command - clone stable branch of platform, not master.

parent 375b3dfc
Branches
Tags
No related merge requests found
...@@ -84,8 +84,8 @@ module LeapCli; module Commands ...@@ -84,8 +84,8 @@ module LeapCli; module Commands
assert_bin! 'git' assert_bin! 'git'
ensure_dir platform_dir ensure_dir platform_dir
Dir.chdir(platform_dir) do Dir.chdir(platform_dir) do
log :cloning, "leap_platform into #{platform_dir}" log :cloning, "leap_platform:stable into #{platform_dir}"
pty_run "git clone --branch master #{DEFAULT_REPO} ." pty_run "git clone --branch stable #{DEFAULT_REPO} ."
pty_run 'git submodule update --init' pty_run 'git submodule update --init'
end end
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment