mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
init git repo for plugins
This commit is contained in:
parent
6aa2d68f9c
commit
bbc6379548
1 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,10 @@ def _build_snap(
|
|||
workspace = CERTBOT_DIR
|
||||
else:
|
||||
workspace = join(CERTBOT_DIR, target)
|
||||
# init and commit git repo in workspace
|
||||
subprocess.run(['git', 'init'], capture_output=True, check=True, cwd=workspace)
|
||||
subprocess.run(['git', 'add', '-A'], capture_output=True, check=True, cwd=workspace)
|
||||
subprocess.run(['git', 'commit', '-m', 'init'], capture_output=True, check=True, cwd=workspace)
|
||||
|
||||
build_success = False
|
||||
retry = 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue