Skip to content

Commit

Permalink
fix(renovate): update rules for rpm-ostree and gsconnect (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
ledif authored Dec 8, 2024
1 parent 25b9aa0 commit 423983d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"versioningTemplate": "loose",
"registryUrlTemplate": "https://yum2npm.io/repos/{{replace '/' '/modules/' registryUrl}}/packages"
}

],
"packageRules": [
{
"matchPackageNames": ["rpm-ostree"],
"extractVersion": "^(?<version>\\d+\\.\\d+)",
}
]
}
10 changes: 10 additions & 0 deletions .github/test/renovate/test_renovate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 423983d

Please sign in to comment.