Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Include all certificates #712

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
APPLE_KEY_CONTENT: ${{ secrets.APPLE_KEY_CONTENT }}
run: |
make release_all APPLE_ID=${{ secrets.APPLE_ID }} TOKEN=$(echo -n $GH_USER:$GH_TOKEN | base64)
make release_all APPLE_ID=${{ secrets.APPLE_ID }} TOKEN=$(echo -n $GH_USER:$GH_TOKEN | base64) PROJECT_ID=${{ secrets.RELEASE_PROJECT_ID }}
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ resolve_packages:
fastlane resolve scheme:WalletApp

release_wallet:
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) --env WalletApp
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) relay_host:$(RELAY_HOST) project_id:$(PROJECT_ID) --env WalletApp

release_showcase:
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) --env Showcase
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) relay_host:$(RELAY_HOST) project_id:$(PROJECT_ID) --env Showcase

release_all:
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) --env WalletApp
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) --env Showcase
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) relay_host:$(RELAY_HOST) project_id:$(PROJECT_ID) --env WalletApp
fastlane release_testflight username:$(APPLE_ID) token:$(TOKEN) relay_host:$(RELAY_HOST) project_id:$(PROJECT_ID) --env Showcase
4 changes: 3 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ platform :ios do
app_identifier: ENV["MATCH_IDENTIFIERS"],
git_url: "https://github.com/WalletConnect/match-swift.git",
git_basic_authorization: options[:token],
api_key: api_key
api_key: api_key,
include_all_certificates: true
)
number = latest_testflight_build_number(
app_identifier: ENV["APP_IDENTIFIER"],
Expand All @@ -80,6 +81,7 @@ platform :ios do
project: "Example/ExampleApp.xcodeproj",
scheme: ENV["SCHEME"],
export_method: "app-store",
xcargs: "RELAY_HOST='#{options[:relay_host]}' PROJECT_ID='#{options[:project_id]}'"
)
upload_to_testflight(
apple_id: ENV["APPLE_ID"],
Expand Down