src := "source.tar.gz" manifests := "manifests" url := "https://github.com/redpanda-data/redpanda-operator/archive" update version="2.3.5-24.3.2": rm -rf {{manifests}} curl -Lo {{src}} {{url}}/refs/tags/v{{version}}.tar.gz tar zxvf {{src}} mv redpanda-operator-{{version}}/src/go/k8s/config {{manifests}} rm -rf {{src}} redpanda-operator-{{version}} {{manifests}}/samples {{manifests}}/e2e-tests {{manifests}}/crd/bases/toolkit.fluxcd.io rm {{manifests}}/crd/kustomization.yaml ./replace-crd-kustomization.sh {{manifests}} rm {{manifests}}/crd/bases/crds.go rm {{manifests}}/crd/bases/crds_test.go