diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8aa3f41..5944cb8 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -31,6 +31,11 @@ "versioningTemplate": "loose", "registryUrlTemplate": "https://yum2npm.io/repos/{{replace '/' '/modules/' registryUrl}}/packages" } - + ], + "packageRules": [ + { + "matchPackageNames": ["rpm-ostree"], + "extractVersion": "^(?\\d+\\.\\d+)", + } ] } diff --git a/.github/test/renovate/test_renovate.py b/.github/test/renovate/test_renovate.py index efe2990..0968f1b 100755 --- a/.github/test/renovate/test_renovate.py +++ b/.github/test/renovate/test_renovate.py @@ -32,6 +32,16 @@ "path": "staging/scx-scheds/scx-scheds.spec", "match": r"Version: 1\.\d+\.\d+", "replace": r"Version: 1.0.4", + }, + "rpm-ostree": { + "path": "staging/rpm-ostree/rpm-ostree.spec", + "match": r"Version: 202\d.\d", + "replace": r"Version: 2024.6", + }, + "GSConnect/gnome-shell-extension-gsconnect": { + "path": "staging/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.spec", + "match": r"Version:\s+\d+", + "replace": r"Version: 57", } } diff --git a/staging/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.spec b/staging/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.spec index 01016d1..d781037 100644 --- a/staging/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.spec +++ b/staging/gnome-shell-extension-gsconnect/gnome-shell-extension-gsconnect.spec @@ -5,7 +5,7 @@ %global app_id org.gnome.Shell.Extensions.GSConnect Name: gnome-shell-extension-gsconnect -# renovate: datasource=github-releases depName=GSConnect/gnome-shell-extension-gsconnect +# renovate: datasource=github-releases depName=GSConnect/gnome-shell-extension-gsconnect versioning=semver-major Version: 58 Release: 1%{?dist} Summary: KDE Connect implementation for GNOME Shell