From be2e7b39e21b713c848af011864dd0aa5468ec80 Mon Sep 17 00:00:00 2001 From: MaineK00n Date: Mon, 12 Jun 2023 14:11:17 +0900 Subject: [PATCH] feat(fetcher/debian): add Debian 12 bookworm --- .github/workflows/fetch.yml | 2 +- config/config.go | 3 +++ fetcher/debian/debian.go | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index bee1655e..0ddd9706 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -44,7 +44,7 @@ jobs: --health-timeout 5s --health-retries 5 env: - Version: 7 8 9 10 11 + Version: 7 8 9 10 11 12 steps: - name: Check out code into the Go module directory uses: actions/checkout@v3 diff --git a/config/config.go b/config/config.go index c325ba02..19320219 100644 --- a/config/config.go +++ b/config/config.go @@ -70,6 +70,9 @@ const ( // Debian11 is bullseye Debian11 = "bullseye" + // Debian12 is bookworm + Debian12 = "bookworm" + // OpenSUSE is OpenSUSE = "opensuse" diff --git a/fetcher/debian/debian.go b/fetcher/debian/debian.go index cdf1b5ad..c3d37dda 100644 --- a/fetcher/debian/debian.go +++ b/fetcher/debian/debian.go @@ -41,6 +41,8 @@ func debianName(major string) string { return config.Debian10 case "11": return config.Debian11 + case "12": + return config.Debian12 default: return "unknown" }