From 330519f61720e9db5dea0c535b30072f6ff6b1aa Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 23 May 2023 17:48:15 +0000 Subject: [PATCH] feat: numerical release strings --- distro/debian/debian.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/distro/debian/debian.go b/distro/debian/debian.go index 48ec47a..46dcb66 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -105,18 +105,18 @@ const ( var ReleaseStrings = [...]string{ "", - "buzz", - "hamm", - "woody", - "etch", - "lenny", - "squeeze", - "wheezy", - "jessie", - "stretch", - "buster", - "bullseye", - "bookworm", + "1", // "buzz", + "2", // "hamm", + "3", // "woody", + "4", // "etch", + "5", // "lenny", + "6", // "squeeze", + "7", // "wheezy", + "8", // "jessie", + "9", // "stretch", + "10", // "buster", + "11", // "bullseye", + "12", // "bookworm", } func (cn Release) String() string {