Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
cb53e4e5
Unverified
Commit
cb53e4e5
authored
Feb 10, 2018
by
xster
Committed by
GitHub
Feb 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide all stdout outputs from the fastlane match step (#14616)
parent
28bf8e7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
Fastfile
examples/flutter_gallery/ios/fastlane/Fastfile
+21
-7
No files found.
examples/flutter_gallery/ios/fastlane/Fastfile
View file @
cb53e4e5
...
...
@@ -3,6 +3,16 @@ skip_docs
default_platform(:ios)
def suppress_output
original_stdout, original_stderr = $stdout.clone, $stderr.clone
$stderr.reopen File.new('/dev/null', 'w')
$stdout.reopen File.new('/dev/null', 'w')
yield
ensure
$stdout.reopen original_stdout
$stderr.reopen original_stderr
end
# This should be run after running
# flutter build ios --release --no-codesign
# to build the app using the Flutter toolchain. This lane is meant to only
...
...
@@ -24,13 +34,17 @@ platform :ios do
version_number: /\d+\.\d+\.\d+/.match(raw_version)[0]
)
# Retrieves all the necessary certs and provisioning profiles.
sync_code_signing(
git_url: ENV['PUBLISHING_MATCH_CERTIFICATE_REPO'],
type: 'appstore',
readonly: true,
verbose: false
)
puts 'Retrieving signing certificates and profiles...'
# Stop fastlane from echoing back PUBLISHING_MATCH_CERTIFICATE_REPO var.
suppress_output {
# Retrieves all the necessary certs and provisioning profiles.
sync_code_signing(
git_url: ENV['PUBLISHING_MATCH_CERTIFICATE_REPO'],
type: 'appstore',
readonly: true
)
}
puts 'Certificates and profiles installed'
# Modify the Xcode project to use the new team and profile.
# It will put the git state to dirty but Travis will be wiped after
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment