tools/mkrelease: fix ZSTD compressed TAR format extension (#13887)
This commit is contained in:
1 parent
6d6e9495d7
commit
2f8f95a2d6
1 file changed
+2
-2
+2
-2
@@ -100,7 +100,7 @@ case "$1" in
|
||||
*.7z | *.zip) format="${1##*.}" ;;
|
||||
*.tar.gz | *.targz) format=tar.gz ;;
|
||||
*.tar.xz) format=tar.xz ;;
|
||||
*.tar.zstd) format=tar.zstd ;;
|
||||
*.tar.zst) format=tar.zst ;;
|
||||
*)
|
||||
echo "ERROR: unsupported release format: ${1##*.}" 1>&2
|
||||
exit 2
|
||||
@@ -303,7 +303,7 @@ case "${format}" in
|
||||
xz ${jobs:+--threads=${jobs}} "${options[@]}" |
|
||||
write_to_file "${output}"
|
||||
;;
|
||||
tar.zstd)
|
||||
tar.zst)
|
||||
echo "Creating archive: ${output}"
|
||||
"${tar_compress_cmd[@]}" |
|
||||
zstd ${jobs:+--threads=${jobs}} "${options[@]}" --stdout |
|
||||
|
||||
Reference in new issue
Block a user