Skip to content

Commit

Permalink
fix: Template-ify CLI_VERSION in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Oct 26, 2021
1 parent d0e065e commit 9dd3521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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/$(version)/g" install.sh
sed "s/CLI_VERSION/$(version)/g" install.sh.template > install.sh
2 changes: 1 addition & 1 deletion install.sh → install.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
mkdir -p cloudstate/bin
cd cloudstate/bin
URL="https://github.com/usecloudstate/cli/releases/download/1.0.8/cloudstate-cli-\$OS-\$ARCH"
URL="https://github.com/usecloudstate/cli/releases/download/CLI_VERSION/cloudstate-cli-\$OS-\$ARCH"
echo "Installing CLI from \$URL"
if [ \$(command -v curl) ]; then
Expand Down

0 comments on commit 9dd3521

Please sign in to comment.