()
| 118 | |
| 119 | |
| 120 | def release_images(): |
| 121 | if not shutil.which('gh'): |
| 122 | msg = "Could not find GitHub CLI ('gh') on your system, please install it to do releases!" |
| 123 | raise RuntimeError(msg) |
| 124 | |
| 125 | gh_cmd = [ |
| 126 | 'gh', |
| 127 | '-R', |
| 128 | 'ClangBuiltLinux/boot-utils', |
| 129 | 'release', |
| 130 | 'create', |
| 131 | '--generate-notes', |
| 132 | RELEASE_TAG, |
| 133 | *list(OUT_FOLDER.iterdir()), |
| 134 | ] |
| 135 | subprocess.run(gh_cmd, check=True) |
| 136 | |
| 137 | |
| 138 | def parse_arguments(): |