Skip to content

Commit

Permalink
Fixe issues and add ubuntu 22 support
Browse files Browse the repository at this point in the history
Signed-off-by: Roshan Khatri <[email protected]>
  • Loading branch information
roshkhatri committed Dec 11, 2024
1 parent bef4013 commit 5844cb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/actions/generate-package-build-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:

- name: Get targets
run: |
x86_arch=$(jq -c '[.linux_targets[] | select(.arch=="x86_64") | .target |= sub("ubuntu([0-9]+\\.[0-9]+)"; "ubuntu-\1")]' utils/releasetools/build-config.json)
x86_arch=$(jq -c '[.linux_targets[] | select(.arch=="x86_64")]' utils/releasetools/build-config.json)
x86_matrix=$(echo "{ \"distro\" : $x86_arch }" | jq -c .)
echo "X86_MATRIX=$x86_matrix" >> $GITHUB_ENV
Expand Down
21 changes: 8 additions & 13 deletions utils/releasetools/build-config.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
{
"linux_targets": [

{
"arch": "x86_64",
"target": "ubuntu18.04",
"target": "ubuntu-20.04",
"type": "deb",
"platform": "bionic"
"platform": "focal"
},
{
"arch": "x86_64",
"target": "ubuntu20.04",
"target": "ubuntu-22.04",
"type": "deb",
"platform": "focal"
"platform": "jammy"
},
{
"arch": "x86_64",
"target": "ubuntu24.04",
"target": "ubuntu-24.04",
"type": "deb",
"platform": "noble"
},
{
"arch": "arm64",
"target": "ubuntu18.04",
"type": "deb",
"platform": "bionic"
},
{
"arch": "arm64",
"target": "ubuntu20.04",
Expand All @@ -32,9 +27,9 @@
},
{
"arch": "arm64",
"target": "ubuntu24.04",
"target": "ubuntu22.04",
"type": "deb",
"platform": "noble"
"platform": "jammy"
}
]
}

0 comments on commit 5844cb1

Please sign in to comment.