feat: add .pkg distribution warning to macOS post-release instructions (#3651)

This commit is contained in:
Eric Seidel
2026-03-18 11:42:21 -07:00
committed by GitHub
parent d3d2a6a63b
commit 5923914f40
2 changed files with 11 additions and 3 deletions
@@ -182,5 +182,7 @@ To change the version of this release, change your app's version in your pubspec
'''
macOS app created at ${artifactManager.getMacOSAppDirectory(flavor: flavor)!.path}.
${styleBold.wrap('Note:')} If you distribute your app via the Mac App Store using a .pkg installer, the packaging process may modify the binary and cause patch failures. See ${link(uri: Uri.parse('https://github.com/shorebirdtech/shorebird/issues/3223'))} for more information.
''';
}
@@ -916,10 +916,16 @@ To change the version of this release, change your app's version in your pubspec
test('prints xcarchive upload steps', () {
expect(
runWithOverrides(() => releaser.postReleaseInstructions),
equals('''
contains('macOS app created at ${appDirectory.path}.'),
);
});
macOS app created at ${appDirectory.path}.
'''),
test('includes .pkg distribution warning', () {
expect(
runWithOverrides(() => releaser.postReleaseInstructions),
contains(
'https://github.com/shorebirdtech/shorebird/issues/3223',
),
);
});
});