From c81ae73a13875a33eae0c9ac4f3e76dc20367d5b Mon Sep 17 00:00:00 2001 From: wuhuizuo Date: Tue, 19 Dec 2023 20:00:23 +0800 Subject: [PATCH] fix(packages/scripts): fail when no builder found Signed-off-by: wuhuizuo --- packages/scripts/get-package-builder-with-config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/get-package-builder-with-config.sh b/packages/scripts/get-package-builder-with-config.sh index 5a863667..69fd878d 100755 --- a/packages/scripts/get-package-builder-with-config.sh +++ b/packages/scripts/get-package-builder-with-config.sh @@ -45,7 +45,7 @@ function main() { fi # get the builder image. - yq '.[0].builder' release-package-routes.yaml | tee $out_file + yq -e '.[0].builder' release-package-routes.yaml | tee $out_file } main "$@"