@@ -311,20 +311,59 @@ jobs:
311311 - run : melos dryPublish --no-select
312312
313313 release_dio_plugin :
314- executor : flutter-executor
314+ macos :
315+ xcode : 15.2.0
316+ resource_class : macos.m1.medium.gen1
317+ working_directory : " ~/project"
315318 steps :
316- - advanced-checkout/shallow-checkout
319+ - advanced-checkout/shallow-checkout :
320+ path : ~/project
321+ # Flutter doesn't support Apple Silicon yet, so we need to install Rosetta use Flutter on M1 machines.
322+ - run :
323+ name : Install Rosetta
324+ command : softwareupdate --install-rosetta --agree-to-license
317325 - setup_flutter
318- - run : chmod +x packages/Instabug-Dio-Interceptor/release.sh
319- - run : ./packages/Instabug-Dio-Interceptor/release.sh
326+ - run :
327+ name : Clone Escape
328+ command : git clone -b master2 git@github.com:Instabug/Escape.git
329+ - run :
330+ name : Build Escape
331+ working_directory : Escape
332+ command : |
333+ swift build -c release
334+ cp -f .build/release/Escape /usr/local/bin/escape
335+ - run :
336+ name : Publish Package
337+ working_directory : packages/instabug_dio_interceptor
338+ command : Escape flutter publish-dependancy
339+
320340
321341 release_http_adapter_plugin :
322- executor : flutter-executor
342+ macos :
343+ xcode : 15.2.0
344+ resource_class : macos.m1.medium.gen1
345+ working_directory : " ~/project"
323346 steps :
324- - advanced-checkout/shallow-checkout
347+ - advanced-checkout/shallow-checkout :
348+ path : ~/project
349+ # Flutter doesn't support Apple Silicon yet, so we need to install Rosetta use Flutter on M1 machines.
350+ - run :
351+ name : Install Rosetta
352+ command : softwareupdate --install-rosetta --agree-to-license
325353 - setup_flutter
326- - run : chmod +x packages/Instabug-Dart-http-Adapter/release.sh
327- - run : ./packages/Instabug-Dart-http-Adapter/release.sh
354+ - run :
355+ name : Clone Escape
356+ command : git clone -b master2 git@github.com:Instabug/Escape.git
357+ - run :
358+ name : Build Escape
359+ working_directory : Escape
360+ command : |
361+ swift build -c release
362+ cp -f .build/release/Escape /usr/local/bin/escape
363+ - run :
364+ name : Publish Package
365+ working_directory : packages/instabug_http_client
366+ command : Escape flutter publish-dependancy
328367
329368 release_modular_plugin :
330369 executor : flutter-executor
@@ -347,20 +386,10 @@ jobs:
347386 - run :
348387 name : Install Rosetta
349388 command : softwareupdate --install-rosetta --agree-to-license
350- - flutter/install_sdk_and_pub :
351- version : 3.10.5
352- app-dir : project
353- - run :
354- name : Install pub packages
355- working_directory : ~/project
356- command : dart pub get
357- - run :
358- name : Generate Pigeons
359- working_directory : project
360- command : melos pigeon --no-select
389+ - setup_flutter
361390 - run :
362391 name : Clone Escape
363- command : git clone git@github.com:Instabug/Escape.git
392+ command : git clone -b master2 git@github.com:Instabug/Escape.git
364393 - run :
365394 name : Build Escape
366395 working_directory : Escape
@@ -369,7 +398,7 @@ jobs:
369398 cp -f .build/release/Escape /usr/local/bin/escape
370399 - run :
371400 name : Publish Package
372- working_directory : project
401+ working_directory : packages/instabug_flutter
373402 command : Escape flutter publish
374403
375404workflows :
0 commit comments