We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
download-and-extract-tar
1 parent 426cc3d commit 9154949Copy full SHA for 9154949
Taskfile.yml
@@ -348,7 +348,7 @@ tasks:
348
- "mkdir -p '{{.OUTPUT_TMP_DIR}}'"
349
- >-
350
curl --fail --location --show-error
351
- "{{.URL_PREFIX}}/{{.TAR_NAME}}"
+ "{{trimSuffix "/" .URL_PREFIX}}/{{.TAR_NAME}}"
352
--output "{{.TAR_PATH}}"
353
- "tar xf '{{.TAR_PATH}}' --directory '{{.OUTPUT_TMP_DIR}}'"
354
- "mv '{{.EXTRACTED_DIR}}' '{{.OUTPUT_DIR}}'"
0 commit comments