Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix release script

jonaswinklera02ddeb7222f
diff --git a/scripts/make-release.sh b/scripts/make-release.sh
index 63a6b465e..9ce218a7e 100755
--- a/scripts/make-release.sh
+++ b/scripts/make-release.sh
@@ -81,7 +81,7 @@ cp "$PAPERLESS_ROOT/paperless.conf.example" "$PAPERLESS_DIST_APP/paperless.conf"
# copy python source, templates and static files.
cd "$PAPERLESS_ROOT"
-find src -wholename '*/locale/*' -o -wholename '*/templates/*' -o -wholename '*/static/*' -o -name '*.py' | cpio -pdm "$PAPERLESS_DIST_APP"
+find src -name '*.po' -o -wholename '*/templates/*' -o -wholename '*/static/*' -o -name '*.py' | cpio -pdm "$PAPERLESS_DIST_APP"
# build the front end.