From ca26219ba6fe3a3c86d5403ff570d3301ec7d7a9 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 24 Sep 2024 17:26:34 +0200 Subject: [PATCH] kubo-migrator: add migration from 15 to 16 --- pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix b/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix index 09c273e27d26..2285e65c80d0 100644 --- a/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix +++ b/pkgs/by-name/ku/kubo-fs-repo-migrations/package.nix @@ -58,11 +58,16 @@ let cd migration go test -mod=vendor '' - else + else if to <= 15 then '' cd not-sharness ./test.sh '' + else + '' + cd test-e2e + ./test.sh + '' } runHook postCheck ''; @@ -209,6 +214,12 @@ let release = "1.0.1"; hash = "sha256-u7PM6kFCQUn07NGpeRYpBDEwc2pP+r5mf44LZU4DV5Y="; } + { + from = 15; + to = 16; + release = "1.0.1"; + hash = "sha256-/TG5GNSyV8gsngRT/0jazkL2n2RzA9h1gCTLqGOrI0A="; + } ]; maxRepoVersion = builtins.length releases;