Skip to content

Commit

Permalink
Merge pull request #120 from appwrite/fix-install-version-param
Browse files Browse the repository at this point in the history
Fixed param name for version
  • Loading branch information
eldadfux authored Mar 2, 2021
2 parents 05e89e4 + 639672d commit 8a55e70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/cli/install.ps1.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ${{ spec.title | upper }}_EXECUTABLE_FILEPATH = Join-Path -Path ${{ spec.title |
${{ spec.title | upper }}_CLI_IMAGE_NAME = "{{ spec.title | lower }}/cli"

# {{ spec.title | caseUcfirst }} CLI image version
${{ spec.title | upper }}_CLI_IMAGE_VERSION = "{{ spec.version }}"
${{ spec.title | upper }}_CLI_IMAGE_VERSION = "{{ sdk.version }}"

${{ spec.title | upper }}_EXECUTABLE_CONTENT = @"
$allowList = 'help', 'init', 'client' {% for service in spec.services %}, '{{ service.name }}'{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion templates/cli/install.sh.twig
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{{ spec.title | upper }}_CLI_IMAGE_NAME={{ spec.title | lower }}/cli

# {{ spec.title | caseUcfirst }} CLI image version
{{ spec.title | upper }}_CLI_IMAGE_VERSION={{ spec.version }}
{{ spec.title | upper }}_CLI_IMAGE_VERSION={{ sdk.version }}

# sudo is required to copy executable to {{ spec.title | upper }}_INSTALL_DIR for linux
USE_SUDO="false"
Expand Down

0 comments on commit 8a55e70

Please sign in to comment.