From fa59687c6615450ae5793dd638ca14f5a2cf8f6e Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Wed, 7 Oct 2026 11:18:38 +0200 Subject: [PATCH] fix: packaging leaves translation headers alone and templates the CSS overrides comments --- bin/package-theme.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/package-theme.sh b/bin/package-theme.sh index 5c44c54..821639d 100755 --- a/bin/package-theme.sh +++ b/bin/package-theme.sh @@ -103,7 +103,8 @@ find "$TARGET_DIR" -type f \ -e "s|Description: WooCommerce Theme based on Tailwind UI|Description: %theme_description%|g" \ -e "s|Author: AmphiBee|Author: %theme_author%|g" \ -e "s|Author URI: https://pollora.dev|Author URI: %theme_author_uri%|g" \ - -e "s|Version: [0-9.]*|Version: %theme_version%|g" \ + -e "s|^Version: [0-9.]*|Version: %theme_version%|" \ + -e "s|— ${CODE_NAME} theme overrides|— %theme_name% theme overrides|g" \ -e "s|'appName' => '${CODE_STUDLY}'|'appName' => '%theme_name%'|g" \ -e "s|'appShortName' => '${CODE_STUDLY}'|'appShortName' => '%theme_name%'|g" \ -e "s|${CODE_CAMEL}Cart|%theme_camel%Cart|g" \