Last active
June 29, 2021 04:43
-
-
Save meetjanani-simformsolutions/997152d1e4fe4917e8ec0076047607e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format_version: '8' | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
project_type: flutter | |
workflows: | |
deploy: | |
steps: | |
- activate-ssh-key@4: | |
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | |
- git-clone@4: {} | |
- script@1: | |
title: Do anything with Script step | |
- certificate-and-profile-installer@1: {} | |
- flutter-installer@0: | |
inputs: | |
- version: 1.22.4 | |
- is_update: 'false' | |
- flutter@0: | |
inputs: | |
- version: 1.22.4 | |
- commands: packages get | packages pub run build_runner build | |
- flutter-analyze@0: | |
inputs: | |
- project_location: "$BITRISE_FLUTTER_PROJECT_LOCATION" | |
- set-xcode-build-number@1: | |
inputs: | |
- build_version_offset: '1' | |
- build_short_version_string: 1.0.0 | |
- build_version: CFBundleVersion | |
- plist_path: "$BITRISE_SOURCE_DIR/ios/Runner/Info.plist" | |
- flutter-build@0: | |
inputs: | |
- project_location: "." | |
- is_debug_mode: 'true' | |
- ios_additional_params: "--release -t lib/main_dev.dart -v" | |
- platform: ios | |
- xcode-archive@3: | |
inputs: | |
- export_method: app-store | |
- deploy-to-itunesconnect-application-loader@1.1: | |
inputs: | |
- itunescon_user: "$APPLE_ID" | |
- password: "$APPLE_ID_PASSWORD" | |
- app_password: "$APP_SPECIFIC_PASSWORD" | |
- connection: apple_id | |
- appcenter-deploy-android@2: | |
inputs: | |
- owner_name: Your_Owner_Name | |
- app_name: Your_App_Name | |
- app_path: "/Users/vagrant/deploy/app-release.apk" | |
- distribution_group: Your_Group_Name | |
- mandatory: 'yes' | |
- debug: 'yes' | |
- api_token: "$appCenterKey" | |
- deploy-to-bitrise-io@1: {} | |
- cache-push@2: {} | |
app: | |
envs: | |
- opts: | |
is_expand: false | |
BITRISE_FLUTTER_PROJECT_LOCATION: "." | |
- opts: | |
is_expand: false | |
BITRISE_PROJECT_PATH: ios/Runner.xcworkspace | |
- opts: | |
is_expand: false | |
BITRISE_SCHEME: Runner | |
- opts: | |
is_expand: false | |
BITRISE_EXPORT_METHOD: development | |
- opts: | |
is_expand: false | |
appCenterKey: your_appCenterKey | |
trigger_map: | |
- pull_request_source_branch: develop | |
pull_request_target_branch: master | |
workflow: primary | |
- pull_request_target_branch: develop | |
workflow: primary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment