n98-magerun: upgrade script limit to 2.x tags (#372624)

This commit is contained in:
Pol Dellaiera
2025-01-10 21:09:25 +01:00
committed by GitHub
+9
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
php81,
nix-update-script,
}:
php81.buildComposerProject (finalAttrs: {
@@ -17,6 +18,14 @@ php81.buildComposerProject (finalAttrs: {
vendorHash = "sha256-n608AY6AQdVuN3hfVQk02vJQ6hl/0+4LVBOsBL5o3+8=";
passthru.updateScript = nix-update-script {
# Excludes 1.x versions from the Github tags list
extraArgs = [
"--version-regex"
"^(2\\.(.*))"
];
};
meta = {
changelog = "https://magerun.net/category/magerun/";
description = "Swiss army knife for Magento1/OpenMage developers";