build: weekly-rls-2024-01-05

Change-Id: Idaacdb06e9b7bd435f1928d62d8b1204747380b6
This commit is contained in:
forum_service
2024-01-10 14:38:06 +08:00
committed by carbon
parent c664606219
commit 0ca73f9917
1117 changed files with 121861 additions and 0 deletions

View File

@ -0,0 +1,14 @@
import os
fd = open("git_version.txt")
dataList = fd.readlines()
rootdir = os.getcwd()
for i in range(0, len(dataList), 3):
gitDir = "{location}".format(location=dataList[i].split(' ')[1].strip())
if os.path.exists(gitDir):
os.chdir(gitDir)
os.system("git reset --hard {commit}".format(
commit=dataList[i + 1].split(' ')[0])
)
os.chdir(rootdir)
fd.close()