fix: iOS status link is broken (#916)
This commit is contained in:
@@ -10,6 +10,7 @@ import 'package:shorebird_cli/src/command.dart';
|
||||
import 'package:shorebird_cli/src/config/config.dart';
|
||||
import 'package:shorebird_cli/src/doctor.dart';
|
||||
import 'package:shorebird_cli/src/formatters/file_size_formatter.dart';
|
||||
import 'package:shorebird_cli/src/ios.dart';
|
||||
import 'package:shorebird_cli/src/logger.dart';
|
||||
import 'package:shorebird_cli/src/platform.dart';
|
||||
import 'package:shorebird_cli/src/shorebird_artifact_mixin.dart';
|
||||
@@ -88,9 +89,7 @@ class PatchIosCommand extends ShorebirdCommand
|
||||
return error.exitCode.code;
|
||||
}
|
||||
|
||||
logger.warn(
|
||||
'''iOS support is in an alpha state. See https://docs.shorebird.dev/faq#ios-alpha for more information.''',
|
||||
);
|
||||
showiOSStatusWarning();
|
||||
|
||||
const arch = 'aarch64';
|
||||
const channelName = 'stable';
|
||||
|
||||
@@ -7,6 +7,7 @@ import 'package:shorebird_cli/src/code_push_client_wrapper.dart';
|
||||
import 'package:shorebird_cli/src/command.dart';
|
||||
import 'package:shorebird_cli/src/config/config.dart';
|
||||
import 'package:shorebird_cli/src/doctor.dart';
|
||||
import 'package:shorebird_cli/src/ios.dart';
|
||||
import 'package:shorebird_cli/src/logger.dart';
|
||||
import 'package:shorebird_cli/src/platform.dart';
|
||||
import 'package:shorebird_cli/src/shorebird_artifact_mixin.dart';
|
||||
@@ -75,9 +76,7 @@ make smaller updates to your app.
|
||||
return e.exitCode.code;
|
||||
}
|
||||
|
||||
logger.warn(
|
||||
'''iOS support is in an alpha state. See https://docs.shorebird.dev/faq#ios-alpha for more information.''',
|
||||
);
|
||||
showiOSStatusWarning();
|
||||
|
||||
const releasePlatform = ReleasePlatform.ios;
|
||||
final flavor = results['flavor'] as String?;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:mason_logger/mason_logger.dart';
|
||||
import 'package:shorebird_cli/src/logger.dart';
|
||||
|
||||
void showiOSStatusWarning() {
|
||||
final url = link(
|
||||
uri: Uri.parse('https://docs.shorebird.dev/status#ios-alpha'),
|
||||
);
|
||||
logger.warn('iOS support is alpha. See $url for more information.');
|
||||
}
|
||||
Reference in New Issue
Block a user