[tbb-commits] [builders/tor-browser-build] branch main updated: Bug 40687: Updated the way to package locales with builds

gitolite role git at cupani.torproject.org
Thu Nov 17 08:10:10 UTC 2022


This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch main
in repository builders/tor-browser-build.

The following commit(s) were added to refs/heads/main by this push:
     new 9b9d8a88 Bug 40687: Updated the way to package locales with builds
9b9d8a88 is described below

commit 9b9d8a88c776410ac83b6b8b6aa890b8053c3987
Author: Pier Angelo Vendrame <pierov at torproject.org>
AuthorDate: Wed Nov 16 17:34:55 2022 +0100

    Bug 40687: Updated the way to package locales with builds
    
    The previous way we were using to merge locales in the builds worked
    with Linux and Windows, but not with macOS.
---
 projects/firefox/build | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/projects/firefox/build b/projects/firefox/build
index 16b3f752..6610a61e 100644
--- a/projects/firefox/build
+++ b/projects/firefox/build
@@ -168,9 +168,8 @@ export LANG=C.UTF-8
 ./mach build --verbose
 [% IF !c("var/testbuild") %]
   export MOZ_CHROME_MULTILOCALE="$supported_locales"
-  for AB_CD in $MOZ_CHROME_MULTILOCALE; do
-    ./mach build chrome-$AB_CD
-  done
+  # No quotes on purpose, see https://firefox-source-docs.mozilla.org/build/buildsystem/locales.html#instructions-for-multi-locale-builds
+  ./mach package-multi-locale --locales en-US $MOZ_CHROME_MULTILOCALE
   AB_CD=multi ./mach build stage-package
 [% ELSE %]
   ./mach build stage-package

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list