Skip to content

Commit 2d46645

Browse files
committed
got rid of getkernelurls
1 parent 85efed3 commit 2d46645

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/gardenlinux/github/__main__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121
import urllib.request
2222
import difflib
2323

24-
from gardenlinux.sources.kernel import get_kernel_urls
25-
from ..logger import LoggerSetup
26-
27-
LOGGER = LoggerSetup.get_logger("gardenlinux.github")
28-
2924
GARDENLINUX_GITHUB_RELEASE_BUCKET_NAME = os.environ['GITHUB_RELEASE_BUCKET_NAME']
3025

3126
arches = [
@@ -342,10 +337,6 @@ def create_github_release_notes(gardenlinux_version, commitish, dry_run=False):
342337
output += generate_release_note_image_ids(metadata_files)
343338

344339
output += "\n"
345-
output += "## Kernel Package direct download links\n"
346-
output += get_kernel_urls(gardenlinux_version)
347-
output += "\n"
348-
349340
output += generate_image_download_section(metadata_files, gardenlinux_version, commitish_short)
350341

351342
output += "\n"
@@ -432,12 +423,6 @@ def main():
432423
elif args.command == 'upload':
433424
# Implementation for 'upload' command
434425
pass
435-
elif args.command == 'kernelurls':
436-
# Implementation for 'upload' command
437-
output = ""
438-
output += "## Kernel Package direct download links\n"
439-
output += get_kernel_urls(args.version)
440-
print(output)
441426
else:
442427
parser.print_help()
443428

0 commit comments

Comments
 (0)