From f7d6a68327d00ac5291e972cb0c2d695179dd998 Mon Sep 17 00:00:00 2001 From: doomchild Date: Fri, 26 Jul 2024 10:33:15 -0500 Subject: [PATCH] Issue-79: Actually fix promote script for real this time closes #79 SemVer:Patch --- ci/promote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/promote b/ci/promote index 213462a..717ca01 100755 --- a/ci/promote +++ b/ci/promote @@ -65,7 +65,7 @@ __has_matching_counts () { __update_version () { local nextVersion=${1} - jq '.version = ${nextVersion}' "${PROJECT_HOME}/project-metadata.json" > "${PROJECT_HOME}/temp-metadata.json" \ + jq --arg version "${nextVersion}" '.version = $version' "${PROJECT_HOME}/project-metadata.json" > "${PROJECT_HOME}/temp-metadata.json" \ && mv "${PROJECT_HOME}/temp-metadata.json" "${PROJECT_HOME}/project-metadata.json" }