From f1a369660efcdf54d9beb62fb091a9eaf4d6c060 Mon Sep 17 00:00:00 2001 From: Luan Rafael Carneiro Date: Wed, 10 Jul 2024 16:04:14 -0300 Subject: [PATCH] Add Ubuntu 24.04 support Signed-off-by: Luan Rafael Carneiro --- .github/workflows/build.yaml | 1 + .github/workflows/publish.yaml | 1 + README.md | 3 ++- yocto-env | 4 ++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7dd9bd3..46cf624 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -23,6 +23,7 @@ jobs: - 18.04 - 20.04 - 22.04 + - 24.04 runs-on: ubuntu-20.04 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 620a8c9..648f0b9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,6 +17,7 @@ jobs: - 18.04 - 20.04 - 22.04 + - 24.04 runs-on: ubuntu-20.04 diff --git a/README.md b/README.md index 58dd715..80c4dfa 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ The generated wrapper, `yocto-env`, has the following usage message: OPTIONS version Environment version to use. This maps to Ubuntu releases - and currently it provides the 16.04, 18.04, and 20.04. + and currently it provides the 16.04, 18.04, + and 20.04, 22.04 and 24.04. diff --git a/yocto-env b/yocto-env index 3851149..d55e41e 100755 --- a/yocto-env +++ b/yocto-env @@ -12,13 +12,13 @@ OPTIONS version Environment version to use. This maps to Ubuntu releases and currently it provides the 14.04, 16.04, 18.04, - 20.04 and 22.04. + 20.04, 22.04 and 24.04. EOF exit 1 } case "$1" in - 14.04*|16.04*|18.04*|20.04*|22.04*) + 14.04*|16.04*|18.04*|20.04*|22.04*|24.04*) version=$1 ;; *)