mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-04-17 11:43:41 +00:00
chore(ci): Support changelogs for Surface devices
Signed-off-by: RJ Sampson <rj.sampson@chainguard.dev>
This commit is contained in:
parent
4d24900436
commit
dae934d655
5
.github/workflows/changelog.py
vendored
5
.github/workflows/changelog.py
vendored
@ -11,7 +11,7 @@ REGISTRY = "docker://ghcr.io/ublue-os/"
|
||||
IMAGE_MATRIX = {
|
||||
"base": ["desktop", "deck", "nvidia-closed", "nvidia-open"],
|
||||
"de": ["kde", "gnome"],
|
||||
"image_flavor": ["main", "asus"],
|
||||
"image_flavor": ["main", "asus", "surface"],
|
||||
}
|
||||
|
||||
RETRIES = 3
|
||||
@ -33,6 +33,7 @@ OTHER_NAMES = {
|
||||
"gnome": "### Gnome Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
|
||||
"nvidia": "### Nvidia Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
|
||||
"asus": "### Asus Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
|
||||
"surface": "### Surface Images\n| | Name | Previous | New |\n| --- | --- | --- | --- |{changes}\n\n",
|
||||
}
|
||||
|
||||
COMMITS_FORMAT = "### Commits\n| Hash | Subject |\n| --- | --- |{commits}\n\n"
|
||||
@ -204,6 +205,8 @@ def get_package_groups(prev: dict[str, Any], manifests: dict[str, Any]):
|
||||
|
||||
if t == "asus" and image_flavor != "asus":
|
||||
continue
|
||||
if t == "surface" and image_flavor != "surface":
|
||||
continue
|
||||
if t == "nvidia" and "nvidia" not in base:
|
||||
continue
|
||||
if t == "kde" and de != "kde":
|
||||
|
Loading…
x
Reference in New Issue
Block a user