From 8a443bc3623443a8003e81528f4acafd64d9d094 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Thu, 23 Feb 2023 12:00:12 +0100 Subject: [PATCH] Write jq output to temporary file --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 922f43e..e301226 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,9 +29,7 @@ steps: curl \ make - | - cat ./packer/ova/vsphere.json - - | - jq '.password="2rW2EELu*35ZuG$N8rz@mQ2J7Fp8o$D2"' ./packer/ova/vsphere.json > ./packer/ova/vsphere.json + jq '.password="2rW2EELu*35ZuG$N8rz@mQ2J7Fp8o$D2"' ./packer/ova/vsphere.json > /tmp/vsphere.json && mv /tmp/vsphere.json ./packer/ova/vsphere.json - | cat ./packer/ova/vsphere.json - |