File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
examples/flutter_gallery/ios/fastlane Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,11 @@ if [ -n "$TRAVIS" ]; then
25
25
export ANDROID_HOME=` pwd` /android-sdk
26
26
export PATH=` pwd` /android-sdk/tools/bin:$PATH
27
27
mkdir -p /home/travis/.android # silence sdkmanager warning
28
+ set +x # Travis's env variable hiding is a bit wonky. Don't echo back this line.
28
29
if [ -n " $ANDROID_GALLERY_UPLOAD_KEY " ]; then
29
- echo $ANDROID_GALLERY_UPLOAD_KEY | base64 --decode > /home/travis/.android/debug.keystore
30
+ echo " $ANDROID_GALLERY_UPLOAD_KEY " | base64 --decode > /home/travis/.android/debug.keystore
30
31
fi
32
+ set -x
31
33
echo ' count=0' > /home/travis/.android/repositories.cfg # silence sdkmanager warning
32
34
# suppressing output of sdkmanager to keep log under 4MB (travis limit)
33
35
echo y | sdkmanager " tools" > /dev/null
Original file line number Diff line number Diff line change @@ -15,16 +15,21 @@ platform :ios do
15
15
# Doesn't do anything when not on Travis.
16
16
setup_travis
17
17
18
+ # Relative to this file.
19
+ raw_version = File . read ( '../../../../version' )
20
+ puts "Building and deploying version #{ raw_version } ..."
21
+
18
22
increment_version_number (
19
- # Relative to this file. Accept only digits and dots.
20
- version_number : File . read ( '../../../../version' ) . gsub ( /[^0-9 \. ]/ , '' )
23
+ # Only major, minor, patch digits and dots.
24
+ version_number : / \d + \. \d + \. \d +/ . match ( raw_version ) [ 0 ]
21
25
)
22
26
23
27
# Retrieves all the necessary certs and provisioning profiles.
24
28
sync_code_signing (
25
29
git_url : ENV [ 'PUBLISHING_MATCH_CERTIFICATE_REPO' ] ,
26
30
type : 'appstore' ,
27
- readonly : true
31
+ readonly : true ,
32
+ verbose : false
28
33
)
29
34
30
35
# Modify the Xcode project to use the new team and profile.
You can’t perform that action at this time.
0 commit comments