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" }