Skip to content

Commit

Permalink
fix: Update install script with the released version
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Oct 25, 2021
1 parent 804d268 commit 54b4e2a
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": "CLI_VERSION=${nextRelease.version} make 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 -i "s/CLI_VERSION/$CLI_VERSION/g" install.sh
sed -e "s/CLI_VERSION/$(version)/g" install.sh

0 comments on commit 54b4e2a

Please sign in to comment.