Fixed the macOS CI packaging step by exporting PREFIX and ENCHANT_PREFIX before the Perl substitutions that rewrite <prefix> entries in osx/zoitechat.bundle. This ensures $ENV{...} is populated during replacement and avoids invalid/empty metadata values that can crash gtk-mac-bundler with the NoneType error.

This commit is contained in:
2026-02-18 14:00:26 -07:00
parent fdea5b25cb
commit a68a49f394

View File

@@ -65,6 +65,7 @@ jobs:
VERSION="$(git describe --tags --always)"
PREFIX="$(brew --prefix)"
ENCHANT_PREFIX="$(brew --prefix enchant)"
export PREFIX ENCHANT_PREFIX
sed "s/@VERSION@/${VERSION}/g" osx/Info.plist.in > osx/Info.plist