This file contains hidden or 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
| module Fastlane | |
| module Actions | |
| class JiraTransitionTicketsAction < Action | |
| def self.run(params) | |
| Actions.verify_gem!('jira-ruby') | |
| require 'jira-ruby' | |
| site = params[:url] | |
| auth_type = :basic |
This file contains hidden or 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
| module Fastlane | |
| module Actions | |
| class SetJiraFixVersionForkAction < Action | |
| def self.run(params) | |
| Actions.verify_gem!('jira-ruby') | |
| require 'jira-ruby' | |
| site = params[:url] | |
| auth_type = params[:auth_type] | |
| use_cookies = params[:use_cookies] |
This file contains hidden or 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
| desc "Releases a \"Pending Developer Release\" version" | |
| lane :release_to_users do | |
| move_to_ready_for_sale | |
| slack(message: slack_announcement, default_payloads: []) | |
| end | |
| private_lane :move_to_ready_for_sale do | |
| ENV['FASTLANE_USER'] = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id) | |
| gs_move_to_ready_for_sale(app_identifier: "your_app_identifier") | |
| end |
This file contains hidden or 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
| deploy-appstore: | |
| only: | |
| refs: | |
| - develop | |
| needs: [minor-version-bump] | |
| stage: deploy-appstore | |
| tags: [osx] | |
| when: manual | |
| allow_failure: false | |
| script: |
This file contains hidden or 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
| desc "Minor version bump" | |
| lane :bump_version do | |
| Actions.sh("git remote set-url origin [email protected]:your_app_git_url") | |
| minor_version_bump(branch: ENV['DEVELOP_BRANCH']) | |
| end | |
| private_lane :minor_version_bump do |options| | |
| reset_git_repo(force: true, skip_clean: true) | |
| git_checkout(remote_branch: options[:branch]) | |
| git_pull |
This file contains hidden or 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
| minor-version-bump: | |
| only: | |
| refs: | |
| - develop | |
| needs: [publish-github-release] | |
| stage: minor-version-bump | |
| tags: [osx] | |
| allow_failure: false | |
| script: | |
| - bundle exec fastlane bump_version |
This file contains hidden or 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
| desc "Publish GitHub release" | |
| lane :publish_github_release do | |
| Actions.sh("git remote set-url origin [email protected]:your_app_git_url") | |
| git_checkout(remote_branch: ENV['MASTER_BRANCH']) | |
| git_pull | |
| version_number = ENV['MPG_VERSION_NUMBER'].to_s.empty? ? get_version_number : ENV['MPG_VERSION_NUMBER'] | |
| publish_github_version_release(branch: ENV['MASTER_BRANCH'], version: version_number) | |
| end | |
| private_lane :publish_github_version_release do |options| |
This file contains hidden or 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
| publish-github-release: | |
| only: | |
| refs: | |
| - develop | |
| needs: [publish-jira-release, submit-appstore] | |
| stage: publish-github-release | |
| tags: [osx] | |
| dependencies: | |
| - submit-appstore | |
| allow_failure: false |
This file contains hidden or 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
| desc "Upload symbols to Crashlytics" | |
| lane :upload_symbols do | |
| upload_symbols_to_crashlytics(dsym_path: "build/AppStore.app.zip", gsp_path: "Firebase/GoogleService-App.plist") | |
| end |
This file contains hidden or 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
| upload-symbols: | |
| only: | |
| refs: | |
| - develop | |
| needs: [submit-appstore] | |
| stage: publish-artifacts | |
| tags: [osx] | |
| allow_failure: false | |
| script: | |
| - bundle exec fastlane upload_symbols |
NewerOlder