distributable:
  url: https://github.com/kubernetes-sigs/kind/archive/refs/tags/v{{version}}.tar.gz
  strip-components: 1

versions:
  github: kubernetes-sigs/kind

build:
  script: |
    go mod download
    go build
    mkdir -p {{prefix}}/bin
    mv kind {{prefix}}/bin/
  dependencies:
    go.dev: ^1.18

provides:
  - bin/kind

test: kind create cluster --help
