Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- release-ios:
- steps:
- - activate-ssh-key@4.0.3:
- run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- - git-clone@4.0.14: {}
- - flutter-installer@0.9.2: {}
- - certificate-and-profile-installer@1.10.1: {}
- - script@1.1.5:
- inputs:
- - content: |-
- #!/usr/bin/env bash
- # fail if any commands fails
- set -e
- # debug log
- set -x
- # write your script here
- STR="$BITRISE_GIT_BRANCH" #String with names
- IFS='/' read -ra VERSION <<< "$STR" #Convert string to array
- export FLUTTER_APP_VERSION="${VERSION[1]}"
- set -ex
- if [ ! -z "$FLUTTER_APP_VERSION" ] ; then
- envman add --key FLUTTER_APP_VERSION --value "$FLUTTER_APP_VERSION"
- fi
- - set-ios-version@2.0.0:
- inputs:
- - bundle_version: "$BITRISE_BUILD_NUMBER"
- - bundle_version_short: "$FLUTTER_APP_VERSION"
- - info_plist_file: "$BITRISE_SOURCE_DIR/ios/Runner/Info.plist"
- - xcode-archive@2.4.19:
- inputs:
- - export_method: app-store
- - team_id: ''
- - deploy-to-bitrise-io@1.3.19: {}
- - deploy-to-itunesconnect-deliver@2.14.1:
- inputs:
- - password: "$APPLE_ITUNES_CONNECT_PASSWORD"
- - team_id: CHANGE_THIS
- - team_name: CHANGE_THIS
- - app_id: CHANGE_THIS
- - bundle_id: CHANGE_THIS
- - itunescon_user: "$APPLE_ITUNES_CONNECT_ID"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement