n98-magerun: upgrade script limit to 2.x tags
Prevent upgrade script from attempting to use 1.x tag. This package isn't actively maintained, so we shouldn't expect v3.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user