From fe8853a4660efeaff7106f73622d3c91617fd6aa Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 16 Feb 2024 03:31:22 -0500 Subject: Make gzip explicit in archive types Might add "tarxz" or similar some day, so make it explicit. --- build.yaml | 6 +++--- portable/Dockerfile | 2 +- portable/build.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.yaml b/build.yaml index 0dd7804..bdf2599 100644 --- a/build.yaml +++ b/build.yaml @@ -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 diff --git a/portable/Dockerfile b/portable/Dockerfile index 096192a..afe33d7 100644 --- a/portable/Dockerfile +++ b/portable/Dockerfile @@ -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 \ diff --git a/portable/build.sh b/portable/build.sh index c979805..66521f7 100755 --- a/portable/build.sh +++ b/portable/build.sh @@ -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) -- cgit