feat: add .pkg distribution warning to macOS post-release instructions (#3651)
This commit is contained in:
@@ -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',
|
||||
),
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user