Make gzip explicit in archive types

Might add "tarxz" or similar some day, so make it explicit.
This commit is contained in:
Joshua M. Boniface
2024-02-16 03:31:22 -05:00
parent ad74b8169e
commit fe8853a466
3 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ fedora:
# Portable archives
linux:
build_function: build_linux
archivetypes: tar
archivetypes: targz
archmaps:
amd64:
DOTNET_ARCH: x64
@@ -81,7 +81,7 @@ windows:
imagename: jellyfin-builder-windows
macos:
build_function: build_macos
archivetypes: tar
archivetypes: targz
archmaps:
amd64:
DOTNET_ARCH: x64
@@ -93,7 +93,7 @@ macos:
imagename: jellyfin-builder-macos
portable:
build_function: build_portable
archivetypes: tar-gz,zip
archivetypes: targz,zip
dockerfile: portable/Dockerfile
imagename: jellyfin-builder-portable

View File

@@ -19,7 +19,7 @@ ENV SOURCE_DIR=/jellyfin
ENV ARTIFACT_DIR=/dist
ENV TYPE=${PACKAGE_TYPE}
ENV VERSION=${PACKAGE_VERSION}
ENV ARCHIVE_TYPES=tar
ENV ARCHIVE_TYPES=targz
# Prepare Debian build environment
RUN apt-get update -y \

View File

@@ -45,7 +45,7 @@ fi
pushd ${BUILD_DIR}
for ARCHIVE_TYPE in $( tr ',' '\n' <<<"${ARCHIVE_TYPES}" ); do
case ${ARCHIVE_TYPE} in
tar)
targz)
tar -czf "${ARTIFACT_DIR}"/jellyfin_${VERSION_SUFFIX}.tar.gz .
;;
zip)