mirror of https://github.com/openspug/spug
U 优化构建逻辑
parent
40165e6a31
commit
7fa6fc82f7
|
@ -87,7 +87,6 @@ def _build(rep: Repository, helper, env):
|
||||||
build_dir = os.path.join(REPOS_DIR, rep.spug_version)
|
build_dir = os.path.join(REPOS_DIR, rep.spug_version)
|
||||||
tar_file = os.path.join(BUILD_DIR, f'{rep.spug_version}.tar.gz')
|
tar_file = os.path.join(BUILD_DIR, f'{rep.spug_version}.tar.gz')
|
||||||
env.update(SPUG_DST_DIR=render_str(extend.dst_dir, env))
|
env.update(SPUG_DST_DIR=render_str(extend.dst_dir, env))
|
||||||
fetch_repo(rep.deploy_id, extend.git_repo)
|
|
||||||
helper.send_success('local', '完成√\r\n')
|
helper.send_success('local', '完成√\r\n')
|
||||||
|
|
||||||
if extend.hook_pre_server:
|
if extend.hook_pre_server:
|
||||||
|
|
Loading…
Reference in New Issue