Skip to content

Commit

Permalink
Test ruby push to test spm3 repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrb1 committed Jun 18, 2024
1 parent c627b43 commit fda06d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,9 @@ workflows:
danger:
jobs:
- danger
spm-test-deploy:
jobs:
- deploy-to-spm
weekly-run-workflow:
when:
and:
Expand Down
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,8 @@ platform :ios do

lane :deploy_to_spm do
source_repo = ENV["CIRCLE_REPOSITORY_URL"] || "https://github.com/revenuecat/#{repo_name}"
destination_repo = source_repo.sub(/\.git\z/, "-spm.git")
destination_repo = source_repo.sub(/\.git\z/, "-spm3.git")

git_clone_and_push(
source_repo: source_repo,
destination_repo: destination_repo
Expand Down

0 comments on commit fda06d1

Please sign in to comment.