From 638c0832726f241682c94c818bd2a20d0bd0e742 Mon Sep 17 00:00:00 2001 From: Henry van der Vegte Date: Mon, 24 Oct 2022 18:24:57 +0200 Subject: [PATCH] [IngestionClient] Use raw jq output to remove quotes in version (#1708) * Update ingestion_client.yaml * Update ingestion_client.yaml --- .github/workflows/ingestion_client.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ingestion_client.yaml b/.github/workflows/ingestion_client.yaml index 6167dceed..2093274f1 100644 --- a/.github/workflows/ingestion_client.yaml +++ b/.github/workflows/ingestion_client.yaml @@ -19,8 +19,8 @@ jobs: id: get_release_versions run: | set -u -e -o pipefail - version=$(cat ./samples/ingestion/ingestion-client/Setup/ArmTemplateBatch.json | jq .variables.Version) - versionRealtime=$(cat ./samples/ingestion/ingestion-client/Setup/ArmTemplateRealtime.json | jq .variables.Version) + version=$(cat ./samples/ingestion/ingestion-client/Setup/ArmTemplateBatch.json | jq -r .variables.Version) + versionRealtime=$(cat ./samples/ingestion/ingestion-client/Setup/ArmTemplateRealtime.json | jq -r .variables.Version) echo ::set-output name=version::$version echo "Batch template: ${version}" echo ::set-output name=versionRealtime::$versionRealtime