Skip to content

Commit

Permalink
Push to SPM after release has been made (#3834)
Browse files Browse the repository at this point in the history
Previously the sync with SPM occurred before the release PR had been
merged. This PR should correct that.
  • Loading branch information
jamesrb1 authored Apr 22, 2024
1 parent 2b42759 commit b5c8f7e
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -339,20 +339,6 @@ commands:
path: fastlane/test_output/xctest
destination: scan-test-output

push-to-spm:
steps:
- checkout
- setup-git-credentials
- run:
name: Clone purchases-ios and push to purchases-ios-spm
command: |
git clone https://github.com/RevenueCat/purchases-ios.git
cd purchases-ios
git fetch --tags
git remote set-url origin https://github.com/RevenueCat/purchases-ios-spm.git
git push origin
git push --tags
jobs:
spm-release-build-xcode-14:
<<: *base-job
Expand Down Expand Up @@ -1021,7 +1007,6 @@ jobs:
- run:
name: Create automatic PR
command: bundle exec fastlane automatic_bump github_rate_limit:10
- push-to-spm

integration-tests-all:
<<: *base-job
Expand Down Expand Up @@ -1121,6 +1106,23 @@ jobs:
]
}
deploy-to-spm:
docker:
- image: cimg/base:stable
resource_class: small
steps:
- checkout
- setup-git-credentials
- run:
name: Clone purchases-ios and push to purchases-ios-spm
command: |
git clone https://github.com/RevenueCat/purchases-ios.git
cd purchases-ios
git fetch --tags
git remote set-url origin https://github.com/RevenueCat/purchases-ios-spm.git
git push origin
git push --tags
workflows:
version: 2
generate-snapshot:
Expand Down Expand Up @@ -1289,6 +1291,9 @@ workflows:
- make-release
- push-revenuecat-pod
<<: *release-tags
- deploy-to-spm:
requires:
- make-release
- docs-deploy:
xcode_version: '14.3.0'
<<: *release-tags
Expand Down

0 comments on commit b5c8f7e

Please sign in to comment.