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