aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-16 03:31:22 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-02-16 03:31:22 -0500
commitfe8853a4660efeaff7106f73622d3c91617fd6aa (patch)
tree181ae424646011aa15ba8dfc9fcd8121efeff435
parentReorder Debian releases (diff)
downloadjellyfin-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.yaml6
-rw-r--r--portable/Dockerfile2
-rwxr-xr-xportable/build.sh2
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)
bgstack15