submodule change to clone
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -110,7 +110,7 @@ class Build { | @@ -110,7 +110,7 @@ class Build { | ||
110 | update = true; | 110 | update = true; |
111 | syncCodeScript = `git fetch && git checkout ${self.branch} && git reset --hard origin/${self.branch} && git pull origin ${self.branch}`; | 111 | syncCodeScript = `git fetch && git checkout ${self.branch} && git reset --hard origin/${self.branch} && git pull origin ${self.branch}`; |
112 | } else { | 112 | } else { |
113 | - syncCodeScript = `git submodule add -f ${this.project.gitlab}`; | 113 | + syncCodeScript = `git clone ${this.project.gitlab}`; |
114 | } | 114 | } |
115 | 115 | ||
116 | this._log(`>>>>>>>>> ${syncCodeScript} >>>>>>>>>>>`); | 116 | this._log(`>>>>>>>>> ${syncCodeScript} >>>>>>>>>>>`); |
-
Please register or login to post a comment