Skip to content

Commit

Permalink
fix: Fix the update_install_script_version make cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Oct 26, 2021
1 parent 224c42f commit ab83e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
],
[
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
sed -i "s/CLI_VERSION/$(version)/g" install.sh

0 comments on commit ab83e51

Please sign in to comment.