yes
This commit is contained in:
parent
415e8b8e57
commit
acf7b541da
3
build.py
3
build.py
|
@ -277,12 +277,13 @@ def create_repos():
|
|||
cd /tmp/repos/{name} ;\
|
||||
git pull || git clone {repo} /tmp/repos/{name}")
|
||||
|
||||
os.system(f"cp -r /tmp/repos/{name} {dist}/git")
|
||||
|
||||
command = subprocess.run(f"cd /tmp/repos/{name} && git log --pretty=format:'%h%x09%an%x09%ad%x09%s' --no-decorate -1", stdout=subprocess.PIPE, shell=True)
|
||||
|
||||
commit = command.stdout.decode()
|
||||
|
||||
traverse_repo(os.path.join(git_path, name), name, commit, repo)
|
||||
|
||||
os.system(f"cp -r /tmp/repos/* {dist}/git")
|
||||
make()
|
||||
create_repos()
|
||||
|
|
Loading…
Reference in New Issue