From 0e44138cc5b3d6aff6ee4aeefe8bd4db41f5a598 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Mon, 18 Sep 2023 12:59:08 +0530 Subject: [PATCH] add an indent param to jq --- .github/workflows/prepare-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index df423f92f..2d3eb08d8 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -25,7 +25,7 @@ jobs: - name: Update Version in package.json run: | - jq ".version = \"$new_version\"" package.json > package.json.tmp + jq ".version = \"$new_version\"" package.json --indent 4 > package.json.tmp mv package.json.tmp package.json git add package.json