@@ -505,8 +505,10 @@ def download_all_metadata_files(version, commitish):
505505
506506 s3_artifacts = S3Artifacts (GARDENLINUX_GITHUB_RELEASE_BUCKET_NAME )
507507
508+ commitish_short = commitish [:8 ]
509+
508510 for flavor in flavors :
509- cname = CName (flavor [1 ], flavor [0 ], "{0}-{1}" .format (version , commitish ))
511+ cname = CName (flavor [1 ], flavor [0 ], "{0}-{1}" .format (version , commitish_short ))
510512 print (f'YTDBG // { flavor = } { version = } { commitish = } ' )
511513 # Filter by image variants - only download if the flavor matches one of the variants
512514 flavor_matches_variant = False
@@ -645,8 +647,6 @@ def _get_package_list(gardenlinux_version):
645647
646648
647649def create_github_release_notes (gardenlinux_version , commitish ):
648- commitish_short = commitish [:8 ]
649-
650650 package_list = _get_package_list (gardenlinux_version )
651651
652652 output = ""
@@ -657,7 +657,7 @@ def create_github_release_notes(gardenlinux_version, commitish):
657657
658658 output += release_notes_compare_package_versions_section (gardenlinux_version , package_list )
659659
660- metadata_files = download_all_metadata_files (gardenlinux_version , commitish_short )
660+ metadata_files = download_all_metadata_files (gardenlinux_version , commitish )
661661
662662 output += generate_release_note_image_ids (metadata_files )
663663
0 commit comments