Обновить executor/cli/git.py
All checks were successful
Test Actions / Builder (push) Successful in 8s
All checks were successful
Test Actions / Builder (push) Successful in 8s
This commit is contained in:
@@ -70,10 +70,13 @@ def handle_git(args):
|
||||
exec_cmd(cmd)
|
||||
|
||||
cmd = 'git remote add origin ' + GITHUB_SERVER_URL + '/' + REPOSITORY
|
||||
print(cmd)
|
||||
exec_cmd(cmd)
|
||||
|
||||
cmd = 'git fetch --progress --depth ' + DEPTH + ' origin ' + REF
|
||||
cmd = 'git fetch --progress --depth ' + DEPTH + ' origin ' + GITHUB_REF_NAME
|
||||
print(cmd)
|
||||
exec_cmd(cmd)
|
||||
|
||||
cmd = 'git checkout ' + GITHUB_REF_NAME
|
||||
print(cmd)
|
||||
exec_cmd(cmd)
|
||||
|
||||
Reference in New Issue
Block a user