diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-16 03:31:22 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-16 03:31:22 -0500 |
commit | fe8853a4660efeaff7106f73622d3c91617fd6aa (patch) | |
tree | 181ae424646011aa15ba8dfc9fcd8121efeff435 | |
parent | Reorder Debian releases (diff) | |
download | jellyfin-packaging-fe8853a4660efeaff7106f73622d3c91617fd6aa.tar.gz jellyfin-packaging-fe8853a4660efeaff7106f73622d3c91617fd6aa.tar.bz2 jellyfin-packaging-fe8853a4660efeaff7106f73622d3c91617fd6aa.zip |
Make gzip explicit in archive types
Might add "tarxz" or similar some day, so make it explicit.
-rw-r--r-- | build.yaml | 6 | ||||
-rw-r--r-- | portable/Dockerfile | 2 | ||||
-rwxr-xr-x | portable/build.sh | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -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) |