Update amdvlk_build_deb_from_tag.py: Search AMDVLK from all of the repos
This commit is contained in:
parent
53e31cb92f
commit
b15aaf9184
@ -114,8 +114,16 @@ class BuildDeb:
|
||||
print("The target repos is " + self.targetRepo);
|
||||
|
||||
def ConnectGithub(self):
|
||||
foundRepo = False;
|
||||
self.github = Github(self.accessToken);
|
||||
self.repo = self.github.get_user().get_repo('AMDVLK');
|
||||
for repo in self.github.get_user().get_repos():
|
||||
if (repo.name == 'AMDVLK'):
|
||||
self.repo = repo;
|
||||
foundRepo = True;
|
||||
|
||||
if (foundRepo == False):
|
||||
print("Fatal: AMDVLK repo is not found");
|
||||
sys.exit(-1);
|
||||
|
||||
def GetReleasedTagsOnGithub(self):
|
||||
releases = self.repo.get_releases();
|
||||
|
Loading…
Reference in New Issue
Block a user