From ab83e51bc44acfd72d1c8080e21fa978c0334b08 Mon Sep 17 00:00:00 2001 From: Nadeesha Cabral Date: Tue, 26 Oct 2021 11:02:55 +1100 Subject: [PATCH] fix: Fix the update_install_script_version make cmd --- .releaserc | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.releaserc b/.releaserc index 8f0f220..e38561b 100644 --- a/.releaserc +++ b/.releaserc @@ -11,7 +11,7 @@ [ "@semantic-release/exec", { - "prepareCmd": "make version=${nextRelease.version} update_install_script_version" + "prepareCmd": "make version=\"${nextRelease.version}\" update_install_script_version" } ], [ diff --git a/Makefile b/Makefile index 3bcc3ab..4e00d84 100644 --- a/Makefile +++ b/Makefile @@ -8,4 +8,4 @@ setup_semantic_release: npm i @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/github @semantic-release/changelog @semantic-release/exec @semantic-release/git update_install_script_version: - sed -e "s/CLI_VERSION/$(version)/g" install.sh \ No newline at end of file + sed -i "s/CLI_VERSION/$(version)/g" install.sh \ No newline at end of file