Skip to content

Commit

Permalink
use CMSSW_COMMIT commad to provide cmssw commit
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jan 18, 2018
1 parent f11c026 commit 76e4652
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion process-build-release-request
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,11 @@ def fix_release_description(issue):
desc_str = '\n' + issue.body.encode("ascii", "ignore").strip() + '\n\n'
desc_lines = []
for l in desc_str.split('\n'):
if l in ["RELEASE_QUEUE:","ARCHITECTURE:","TAG_COMMIT:","CMSDIST_COMMIT:"]: continue
if "RELEASE_QUEUE:" in l: continue
if "ARCHITECTURE:" in l: continue
if "TAG_COMMIT:" in l: continue
if "CMSSW_COMMIT:" in l: continue
if "CMSDIST_COMMIT:" in l: continue
desc_lines.append(l)
return "\n".join(desc_lines)

Expand Down Expand Up @@ -848,6 +852,10 @@ if __name__ == "__main__":
release_tag_commit = issue_body.split("TAG_COMMIT:",1)[1].split("\n",1)[0].strip()
print "Found forces commit:",release_tag_commit

if "CMSSW_COMMIT:" in issue_body:
release_tag_commit = issue_body.split("CMSSW_COMMIT:",1)[1].split("\n",1)[0].strip()
print "Found forces commit:",release_tag_commit

cmsdist_tag_commit = None
if "CMSDIST_COMMIT:" in issue_body:
cmsdist_tag_commit = issue_body.split("CMSDIST_COMMIT:",1)[1].split("\n",1)[0].strip()
Expand Down

0 comments on commit 76e4652

Please sign in to comment.