Skip to content

Commit

Permalink
feat(fetcher/debian): add Debian 12 bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Jun 12, 2023
1 parent eb88caf commit be2e7b3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ const (
// Debian11 is bullseye
Debian11 = "bullseye"

// Debian12 is bookworm
Debian12 = "bookworm"

// OpenSUSE is
OpenSUSE = "opensuse"

Expand Down
2 changes: 2 additions & 0 deletions fetcher/debian/debian.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit be2e7b3

Please sign in to comment.