Skip to content

Commit

Permalink
Cert fix + project_id
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed Feb 13, 2023
1 parent 494904a commit 81c03c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
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

0 comments on commit 81c03c1

Please sign in to comment.