From 18765cd4f90afb14b419e6642dbda6b5968d50dd Mon Sep 17 00:00:00 2001 From: Sonia Appasamy Date: Wed, 24 Apr 2024 15:02:27 -0400 Subject: [PATCH] release/dist/qnap: omit .qpkg.codesigning files Updates tailscale/tailscale-qpkg#135 Signed-off-by: Sonia Appasamy --- release/dist/qnap/files/scripts/build-qpkg.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/release/dist/qnap/files/scripts/build-qpkg.sh b/release/dist/qnap/files/scripts/build-qpkg.sh index 59e214472..d478bfe6b 100755 --- a/release/dist/qnap/files/scripts/build-qpkg.sh +++ b/release/dist/qnap/files/scripts/build-qpkg.sh @@ -7,6 +7,14 @@ function cleanup() { rm -rf /Tailscale/$ARCH rm -f /Tailscale/sed* rm -f /Tailscale/qpkg.cfg + + # If this build was signed, a .qpkg.codesigning file will be created as an + # artifact of the build + # (see https://github.com/qnap-dev/qdk2/blob/93ac75c76941b90ee668557f7ce01e4b23881054/QDK_2.x/bin/qbuild#L992). + # + # go/client-release doesn't seem to need these, so we delete them here to + # avoid uploading them to pkgs.tailscale.com. + rm -f /out/*.qpkg.codesigning } trap cleanup EXIT