diff options
Diffstat (limited to 'buildscripts/packager.py')
-rwxr-xr-x | buildscripts/packager.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildscripts/packager.py b/buildscripts/packager.py index 98ab952d619..bc9d96701d7 100755 --- a/buildscripts/packager.py +++ b/buildscripts/packager.py @@ -44,7 +44,7 @@ import time ARCH_CHOICES = ["x86_64", "arm64", "aarch64", "s390x"] # Made up names for the flavors of distribution we package for. -DISTROS = ["suse", "debian", "redhat", "ubuntu", "amazon", "amazon2", "amazon2022"] +DISTROS = ["suse", "debian", "redhat", "ubuntu", "amazon", "amazon2", "amazon2023"] class Spec(object): @@ -289,8 +289,8 @@ class Distro(object): return "2013.03" elif self.dname == 'amazon2': return "2017.12" - elif self.dname == 'amazon2022': - return "2022.0" + elif self.dname == 'amazon2023': + return "2023.0" elif self.dname == 'ubuntu': if build_os == 'ubuntu1204': return "precise" @@ -353,7 +353,7 @@ class Distro(object): "rhel55", "rhel67", ] - elif self.dname in ['amazon', 'amazon2', 'amazon2022']: + elif self.dname in ['amazon', 'amazon2', 'amazon2023']: return [self.dname] elif self.dname == 'ubuntu': return [ @@ -381,8 +381,8 @@ class Distro(object): return 'amzn1' elif self.dname == 'amazon2': return 'amzn2' - elif self.dname == 'amazon2022': - return 'amzn2022' + elif self.dname == 'amazon2023': + return 'amzn2023' return re.sub(r'^rh(el\d).*$', r'\1', build_os) |