xapp-thumbnailers: improve update script to only target versions x.y.z
Upstream sometimes releases versions like `master.mint22` or `master.lmde7`, which we don't want r-ryantm to open update PRs for. See https://github.com/NixOS/nixpkgs/pull/487553 for an example where this happened.
This commit is contained in:
@@ -109,7 +109,12 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
pythonImportsCheck = [ "XappThumbnailers" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^(\\d+\\.\\d+\\.\\d+)$"
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Thumbnailers for GTK desktop environments";
|
||||
|
||||
Reference in New Issue
Block a user