Skip to content

Commit 8a55e70

Browse files
authored
Merge pull request #120 from appwrite/fix-install-version-param
Fixed param name for version
2 parents 05e89e4 + 639672d commit 8a55e70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/cli/install.ps1.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ${{ spec.title | upper }}_EXECUTABLE_FILEPATH = Join-Path -Path ${{ spec.title |
2525
${{ spec.title | upper }}_CLI_IMAGE_NAME = "{{ spec.title | lower }}/cli"
2626

2727
# {{ spec.title | caseUcfirst }} CLI image version
28-
${{ spec.title | upper }}_CLI_IMAGE_VERSION = "{{ spec.version }}"
28+
${{ spec.title | upper }}_CLI_IMAGE_VERSION = "{{ sdk.version }}"
2929

3030
${{ spec.title | upper }}_EXECUTABLE_CONTENT = @"
3131
$allowList = 'help', 'init', 'client' {% for service in spec.services %}, '{{ service.name }}'{% endfor %}

templates/cli/install.sh.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{ spec.title | upper }}_CLI_IMAGE_NAME={{ spec.title | lower }}/cli
3131

3232
# {{ spec.title | caseUcfirst }} CLI image version
33-
{{ spec.title | upper }}_CLI_IMAGE_VERSION={{ spec.version }}
33+
{{ spec.title | upper }}_CLI_IMAGE_VERSION={{ sdk.version }}
3434

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

0 commit comments

Comments
 (0)