From 539e18d984b66b41e5d7b106087068ee5c1c2037 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 3 Nov 2023 15:05:51 +0100 Subject: [PATCH] Setup: Update tar.gz target in Makefile #3861 Signed-off-by: Michael Mayer --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f43598c8..18dd7d898 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ clean: [ ! -d "$(JS_BUILD_PATH)" ] || rm -rf --preserve-root $(JS_BUILD_PATH) tar.gz: $(info Creating tar.gz archives from the directories in "$(BUILD_PATH)"...) - find "$(BUILD_PATH)" -maxdepth 1 -mindepth 1 -type d -exec tar --exclude='.[^/]*' -C {} -czf {}.tar.gz . \; + find "$(BUILD_PATH)" -maxdepth 1 -mindepth 1 -type d -name "photoprism*" -exec tar --exclude='.[^/]*' -C {} -czf {}.tar.gz . \; pkg: pkg-amd64 pkg-arm64 pkg-amd64: docker run --rm -u $(UID) --platform=amd64 --pull=always -v ".:/go/src/github.com/photoprism/photoprism" --entrypoint "" photoprism/develop:jammy make all install tar.gz