From 67bc1158db2b0756a3e4959bfe6b42e6a7d856e9 Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Thu, 23 May 2024 19:21:44 -0500 Subject: [PATCH] fix(release): do not delete testdata from git history in release workflow --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 62bbf3b859..2f397ae821 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ destroy: ## Run `zarf destroy` on the current cluster rm -fr build delete-packages: ## Delete all Zarf package tarballs in the project recursively - find . -type f -name 'zarf-package-*' -delete + find . -type f -name 'zarf-package-*' -not -path '*/testdata/*' -print -delete # Note: the path to the main.go file is not used due to https://github.com/golang/go/issues/51831#issuecomment-1074188363 .PHONY: build