From 881f385a619210732b0d56ae68485680b549810c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 13 Jul 2019 12:04:26 -0400 Subject: [PATCH] Use dash or underscore on mv command Required for nightlies, which would not match this file format with the underscore then wildcard. Enables nightly builds. --- deployment/debian-package-arm64/docker-build.sh | 2 +- deployment/debian-package-armhf/docker-build.sh | 2 +- deployment/debian-package-x64/docker-build.sh | 2 +- deployment/ubuntu-package-arm64/docker-build.sh | 2 +- deployment/ubuntu-package-armhf/docker-build.sh | 2 +- deployment/ubuntu-package-x64/docker-build.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deployment/debian-package-arm64/docker-build.sh b/deployment/debian-package-arm64/docker-build.sh index cee96e1369..1c75ece8eb 100755 --- a/deployment/debian-package-arm64/docker-build.sh +++ b/deployment/debian-package-arm64/docker-build.sh @@ -17,5 +17,5 @@ dpkg-buildpackage -us -uc -aarm64 # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} diff --git a/deployment/debian-package-armhf/docker-build.sh b/deployment/debian-package-armhf/docker-build.sh index 56227b5880..df35345bdd 100755 --- a/deployment/debian-package-armhf/docker-build.sh +++ b/deployment/debian-package-armhf/docker-build.sh @@ -17,5 +17,5 @@ dpkg-buildpackage -us -uc -aarmhf # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} diff --git a/deployment/debian-package-x64/docker-build.sh b/deployment/debian-package-x64/docker-build.sh index 07f726dcc8..9781879f6f 100755 --- a/deployment/debian-package-x64/docker-build.sh +++ b/deployment/debian-package-x64/docker-build.sh @@ -16,5 +16,5 @@ dpkg-buildpackage -us -uc # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} diff --git a/deployment/ubuntu-package-arm64/docker-build.sh b/deployment/ubuntu-package-arm64/docker-build.sh index cee96e1369..1c75ece8eb 100755 --- a/deployment/ubuntu-package-arm64/docker-build.sh +++ b/deployment/ubuntu-package-arm64/docker-build.sh @@ -17,5 +17,5 @@ dpkg-buildpackage -us -uc -aarm64 # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} diff --git a/deployment/ubuntu-package-armhf/docker-build.sh b/deployment/ubuntu-package-armhf/docker-build.sh index 56227b5880..df35345bdd 100755 --- a/deployment/ubuntu-package-armhf/docker-build.sh +++ b/deployment/ubuntu-package-armhf/docker-build.sh @@ -17,5 +17,5 @@ dpkg-buildpackage -us -uc -aarmhf # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR} diff --git a/deployment/ubuntu-package-x64/docker-build.sh b/deployment/ubuntu-package-x64/docker-build.sh index 07f726dcc8..9781879f6f 100755 --- a/deployment/ubuntu-package-x64/docker-build.sh +++ b/deployment/ubuntu-package-x64/docker-build.sh @@ -16,5 +16,5 @@ dpkg-buildpackage -us -uc # Move the artifacts out mkdir -p ${ARTIFACT_DIR}/deb -mv /jellyfin_* ${ARTIFACT_DIR}/deb/ +mv /jellyfin[-_]* ${ARTIFACT_DIR}/deb/ chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}