name: "grub2-efi"
category: "system"
version: "2.06-150500.27.4"
license: "GPL-3.0-or-later"
labels:
  autobump.strategy: "custom"
  autobump.string_replace: '{ "prefix": "" }'
  autobump.prefix: "prefix"
  autobump.hook: |
    curl -s -L https://download.opensuse.org/distribution/leap/15.5/repo/oss/$(curl -s -L https://download.opensuse.org/distribution/leap/15.5/repo/oss/repodata/repomd.xml | dasel -r xml 'repomd.data.[0].location.-href') | gunzip | dasel -r xml -w json | jq '.metadata.package[] | select(.name|match("grub2-x86_64-efi$")) | select(.arch!="src").version | map(.)[2] + "-" +  map(.)[1]' -r | tail -n1
  autobump.version_hook: |
    curl -s -L https://download.opensuse.org/distribution/leap/15.5/repo/oss/$(curl -s -L https://download.opensuse.org/distribution/leap/15.5/repo/oss/repodata/repomd.xml | dasel -r xml 'repomd.data.[0].location.-href') | gunzip | dasel -r xml -w json | jq '.metadata.package[] | select(.name|match("grub2-x86_64-efi$")) | select(.arch!="src").version | map(.)[2] + "-" +  map(.)[1]' -r | tail -n1
  package.version: "2.06-150500.27.4"
