INNER CODE UNIT · Python
getIssueBranch
SpaRcle-Studio/SREngine · CI/scripts/IssueManager.py:15
def getIssueBranch(issue):
body = issue.body
if body == None:
return None
regex = re.search('Commit Branch: `(.*)`', body)
if regex != None:
return regex.group(1)
return None
linuxBuildState = os.getenv('linuxBuildState')
windowsBuildState = os.getenv('windowsBuildState')
androidBuildState = os.getenv('androidBuildState')
flatpakBuildState = os.getenv('flatpakBuildState')
commitAuthor = os.getenv('commitAuthor')
commitMessage = os.getenv('commitMessage')
commitBranch = os.getenv('commitBranch')
commitSha = os.getenv('commitSha')