From cac1e550b1ffe6c0bb53f9aadc9b720e57a87313 Mon Sep 17 00:00:00 2001 From: Cesar de la Vega Date: Fri, 4 Nov 2022 21:58:42 +0100 Subject: [PATCH] Runs push-pods after make-release (#2025) --- .circleci/config.yml | 16 ++++++++++++++++ fastlane/Fastfile | 10 ++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e9e2b3369d..5014c4641d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -466,6 +466,16 @@ jobs: command: bundle exec fastlane release no_output_timeout: 30m + push-pods: + <<: *base-job + steps: + - checkout + - trust-github-key + - run: + name: Deploy new version + command: bundle exec fastlane push_pods + no_output_timeout: 30m + prepare-next-version: <<: *base-job steps: @@ -720,8 +730,14 @@ workflows: - hold <<: *release-branches - make-release: + xcode_version: '14.1.0' + <<: *release-tags + - push-pods: # Xcode 14 not supported until https://github.com/CocoaPods/CocoaPods/issues/11558 is fixed. + # This runs as its own job until https://github.com/CocoaPods/CocoaPods/issues/11621 is fixed. xcode_version: '13.4.1' + requires: + - make-release <<: *release-tags - docs-deploy: xcode_version: '14.1.0' diff --git a/fastlane/Fastfile b/fastlane/Fastfile index b329ab6003..16b315c60b 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -237,15 +237,21 @@ platform :ios do ) end - desc "Release to CocoaPods, create Carthage archive, export XCFramework, and create GitHub release" + desc "Create Carthage archive, export XCFramework, and create GitHub release" lane :release do |options| version_number = current_version_number - push_pods + # making it its own lane until https://github.com/CocoaPods/CocoaPods/issues/11621 is fixed. + # push_pods carthage_archive export_xcframework github_release(version: version_number) end + desc "Release to CocoaPods" + lane :push_pods do |options| + push_pods + end + desc "Tag current branch with current version number" lane :tag_current_branch do |options| version_number = current_version_number