Skip to content

Commit

Permalink
more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed Dec 10, 2024
1 parent 2008b60 commit e1d4141
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion packages/shorebird_cli/lib/src/commands/patch/macos_patcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ import 'package:shorebird_cli/src/code_push_client_wrapper.dart';
import 'package:shorebird_cli/src/code_signer.dart';
import 'package:shorebird_cli/src/commands/patch/patch.dart';
import 'package:shorebird_cli/src/common_arguments.dart';
import 'package:shorebird_cli/src/executables/aot_tools.dart';
import 'package:shorebird_cli/src/executables/executables.dart';
import 'package:shorebird_cli/src/extensions/arg_results.dart';
import 'package:shorebird_cli/src/logging/detail_progress.dart';
import 'package:shorebird_cli/src/logging/shorebird_logger.dart';
import 'package:shorebird_cli/src/metadata/metadata.dart';
import 'package:shorebird_cli/src/patch_diff_checker.dart';
import 'package:shorebird_cli/src/platform/platform.dart';
import 'package:shorebird_cli/src/release_type.dart';
Expand Down Expand Up @@ -356,6 +357,17 @@ For more information see: ${supportedFlutterVersionsUrl.toLink()}''',
}
}

@override
Future<CreatePatchMetadata> updatedCreatePatchMetadata(
CreatePatchMetadata metadata,
) async =>
metadata.copyWith(
linkPercentage: lastBuildLinkPercentage,
environment: metadata.environment.copyWith(
xcodeVersion: await xcodeBuild.version(),
),
);

Future<_LinkResult> _runLinker({
required File releaseArtifact,
required File kernelFile,
Expand Down

0 comments on commit e1d4141

Please sign in to comment.