swap mach package and mach create-locales order

This commit is contained in:
Bert van der Weerd 2022-05-04 13:08:59 +02:00
parent acd83b376d
commit 6bc8e5a648
No known key found for this signature in database
GPG Key ID: 4CFABB96ADE0F5B1
1 changed files with 2 additions and 2 deletions

View File

@ -18,9 +18,9 @@ $(outfile) $(outfile).sha256sum :
${MAKE} work
sed "s/_ARCH_/$(arch)/g" < assets/macos.mozconfig > work/librewolf-$(version)-$(source_release)/mozconfig
ifeq ($(use_docker),false)
(cd work/librewolf-$(version)-$(source_release) && ./mach build && ./mach build && cat browser/locales/shipped-locales | xargs ./mach package-multi-locale --locales && ./mach package)
(cd work/librewolf-$(version)-$(source_release) && ./mach build && ./mach build && ./mach package && cat browser/locales/shipped-locales | xargs ./mach package-multi-locale --locales)
else
docker run --rm -v $(shell pwd)/work:/work:rw librewolf/bsys5-image-macos-$(arch) sh -c "cd /work/librewolf-$(version)-$(source_release) && ./mach build && cat browser/locales/shipped-locales | xargs ./mach package-multi-locale --locales && ./mach package"
docker run --rm -v $(shell pwd)/work:/work:rw librewolf/bsys5-image-macos-$(arch) sh -c "cd /work/librewolf-$(version)-$(source_release) && ./mach package && ./mach build && cat browser/locales/shipped-locales | xargs ./mach package-multi-locale --locales"
endif
cp -v work/librewolf-$(version)-$(source_release)/obj-$(arch)-apple-darwin/dist/librewolf-$(version)-$(source_release).en-US.mac.dmg $(outfile)
sha256sum $(outfile) > $(outfile).sha256sum