Skip to content

Commit

Permalink
fix(taskfiles): Trim unnecessary forward slash from URL prefix in `do…
Browse files Browse the repository at this point in the history
…wnload-and-extract-tar`.
  • Loading branch information
kirkrodrigues committed Nov 8, 2024
1 parent 426cc3d commit 47e876d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ tasks:
- "mkdir -p '{{.OUTPUT_TMP_DIR}}'"
- >-
curl --fail --location --show-error
"{{.URL_PREFIX}}/{{.TAR_NAME}}"
"{{trimSuffix "/" .URL_PREFIX}}/{{.TAR_NAME}}"
--output "{{.TAR_PATH}}"
- "tar xf '{{.TAR_PATH}}' --directory '{{.OUTPUT_TMP_DIR}}'"
- "mv '{{.EXTRACTED_DIR}}' '{{.OUTPUT_DIR}}'"
Expand Down

0 comments on commit 47e876d

Please sign in to comment.