Skip to content

Commit 6f14fd2

Browse files
authored
Merge pull request #285 from appwrite/fix-2007-temp-file-cli
feat: use timestamp in filename
2 parents aab3c73 + 789afff commit 6f14fd2

File tree

2 files changed

+50
-49
lines changed

2 files changed

+50
-49
lines changed

composer.lock

Lines changed: 49 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

templates/cli/install.sh.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{{ spec.title | upper }}_EXECUTABLE_FILEPATH="${{ spec.title | upper }}_INSTALL_DIR/${{ spec.title | upper }}_EXECUTABLE_NAME"
2525

2626
# {{ spec.title | caseUcfirst }} CLI temp name
27-
{{ spec.title | upper }}_TEMP_NAME=temp
27+
{{ spec.title | upper }}_TEMP_NAME=temp-$(date +%s)
2828

2929
# {{ spec.title | caseUcfirst }} CLI image name
3030
{{ spec.title | upper }}_CLI_IMAGE_NAME={{ spec.title | lower }}/cli

0 commit comments

Comments
 (0)