MCPcopy Create free account
hub / github.com/ClangBuiltLinux/boot-utils / release_images

Function release_images

buildroot/rebuild.py:120–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118
119
120def 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
138def parse_arguments():

Callers 1

mainFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected