Skip to content

Commit f0c36a0

Browse files
committed
fix(ci): fix the CI to follow the latest release of webkit git repo
Signed-off-by: Soumyadeep Ghosh <soumyadeepghosh2004@zohomail.in>
1 parent 8061a3d commit f0c36a0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/update-sdk-snap.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ jobs:
2525
branch: "2404"
2626
snapcraft-project-root: "webkitgtk-6-gnome-2404-sdk"
2727
update-script: |
28-
latest_tag=$(git ls-remote --refs --sort='v:refname' --tags https://gitlab.gnome.org/GNOME/gnome-build-meta.git | awk -F'/' '{print $NF}' | grep -E '^[0-9]+(\.[0-9]+)*$' | sort -V | tail -n 1)
29-
webkitgtk_version=$(curl -s "https://gitlab.gnome.org/GNOME/gnome-build-meta/-/raw/${latest_tag}/elements/sdk/webkitgtk.inc?ref_type=tags" | yq eval '.sources[0].url' | cut -d : -f 2 | cut -d - -f 2 | cut -c -6)
28+
webkitgtk_version=$(git ls-remote --refs --sort='v:refname' --tags 'https://github.com/WebKit/WebKit.git' "webkitgtk-*" | awk -F'/' '{print $NF}' | grep -E 'webkitgtk-[0-9]+(\.[0-9]+)*\.[0-9]$' | sort -V | tail -n 1 | sed 's/^webkitgtk-//')
3029
yq -i ".version=\"$webkitgtk_version\"" webkitgtk-6-gnome-2404-sdk/snapcraft.yaml
3130
3231
sync-content-version:

0 commit comments

Comments
 (0)