Merge pull request #294417 from adamcstephens/ovn/fix-update

ovn: 23.09.1 -> 24.03.1, ovn-lts: 22.03.5 -> 22.03.7
This commit is contained in:
Martin Weinelt 2024-04-17 15:32:01 +02:00 committed by GitHub
commit f9b1529a4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 6 deletions

View File

@ -60,7 +60,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
doCheck = true;
# disable tests due to networking issues and because individual tests can't be skipped easily
doCheck = false;
nativeCheckInputs = [
gnused

View File

@ -1,5 +1,5 @@
import ./generic.nix {
version = "22.03.5";
hash = "sha256-DMDWR7Dbgak0azPcVqDdFHGovTbLX8byp+jQ3rYvvX4=";
version = "22.03.7";
hash = "sha256-HzVzJN1QnMTlv39I7clzciJD/Owm93jFO4qfaE1k6e4=";
updateScriptArgs = "--lts=true --regex '22.03.*'";
}

View File

@ -1,4 +1,4 @@
import ./generic.nix {
version = "23.09.1";
hash = "sha256-t4DtV0wW/jQX7/TpsLFoDzzSPROrhUHHG09r9+lsdaQ=";
version = "24.03.1";
hash = "sha256-BvMbNkNtyIl8xrUUvJhWWXiLaAHFjiwcq8P7/CGGtzA=";
}

View File

@ -1,7 +1,7 @@
#!/usr/bin/env nix-shell
#!nix-shell -i nu -p nushell common-updater-scripts
def main [--lts: bool = false, --regex: string] {
def main [--lts = false, --regex: string] {
let tags = list-git-tags --url=https://github.com/ovn-org/ovn | lines | sort --natural | str replace v ''
let latest_tag = if $regex == null { $tags } else { $tags | find --regex $regex } | last