Package only the locale catalogs from server/i18n

release.mk copied server/i18n wholesale into the distribution. Everything in
that directory today is a catalog, so it made no difference -- but the server
loader, mmgotool and the sync test all already filter the directory to *.json,
and packaging was the one consumer that did not.

Copy the catalogs explicitly so documentation and any other non-catalog file
placed alongside them stays out of the release bundle.
This commit is contained in:
Jesse Hallam
2026-08-26 14:03:06 -03:00
parent 0a5c312cf9
commit 99cfa86e3e
+2 -1
View File
@@ -188,7 +188,8 @@ package-prep: setup-go-work
cp -RL fonts $(DIST_PATH)
cp -RL templates $(DIST_PATH)
rm -rf $(DIST_PATH)/templates/*.mjml $(DIST_PATH)/templates/partials/
cp -RL i18n $(DIST_PATH)
mkdir -p $(DIST_PATH)/i18n
cp -L i18n/*.json $(DIST_PATH)/i18n
@# Disable developer settings
sed -i'' -e 's|"ConsoleLevel": "DEBUG"|"ConsoleLevel": "INFO"|g' $(DIST_PATH)/config/config.json