diff --git a/projects/kubecm.cloud/package.yml b/projects/kubecm.cloud/package.yml new file mode 100644 index 00000000..6c4038d8 --- /dev/null +++ b/projects/kubecm.cloud/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/sunny0826/kubecm/archive/refs/tags/{{ version.tag }}.tar.gz + strip-components: 1 + +display-name: kubecm + +versions: + github: sunny0826/kubecm + +build: + dependencies: + go.dev: ^1.22 + script: make build BUILD_TARGET_PKG_DIR="{{ prefix }}/bin" TAG={{ version }} KUBECM_VERSION={{ version }} + env: + CGO_ENABLED: 0 + +provides: + - bin/kubecm + +test: + - kubecm version | grep {{ version }}