Skip to content

Commit aafbfc2

Browse files
authored
chore: 0.11.0 release + add sleep between pod pushes
1 parent ef0e139 commit aafbfc2

File tree

23 files changed

+45
-45
lines changed

23 files changed

+45
-45
lines changed

.circleci/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2.1
44

55
defaults: &defaults
66
macos:
7-
xcode: "11.2.1"
7+
xcode: "11.4.0"
88
working_directory: ~/amplify-ios
99
environment:
1010
BUNDLE_PATH: vendor/bundle
@@ -157,13 +157,10 @@ jobs:
157157
- *restore_repo
158158
- restore_gems
159159
- check_bundle
160-
# - run:
161-
# name: Bump pod versions
162-
# command: bundle exec fastlane bump_podspecs_patch
163160
- run:
164161
name: Release pods
165162
command: bundle exec fastlane release_pods
166-
163+
no_output_timeout: 20m
167164

168165
workflows:
169166
build_test_deploy:

.jazzy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module: Amplify
2-
module_version: 0.9.0
2+
module_version: 0.11.0
33
author: Amazon Web Services
44
github_url: https://github.com/aws-amplify/amplify-ios
55

AWSPluginsCore.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = 'AWSPluginsCore'
12-
s.version = '0.10.0'
12+
s.version = '0.11.0'
1313
s.summary = 'Amazon Web Services Amplify for iOS.'
1414

1515
s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
2525
AWS_SDK_VERSION = "~> 2.13.0"
2626

2727
s.source_files = 'AmplifyPlugins/Core/AWSPluginsCore/**/*.swift'
28-
s.dependency 'Amplify', '0.10.0'
28+
s.dependency 'Amplify', '0.11.0'
2929
s.dependency 'AWSMobileClient', AWS_SDK_VERSION
3030

3131
end

AWSPredictionsPlugin.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'AWSPredictionsPlugin'
4-
s.version = '0.10.0'
4+
s.version = '0.11.0'
55
s.summary = 'Amazon Web Services Amplify for iOS.'
66

77
s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
s.requires_arc = true
1616

1717
AWS_SDK_VERSION = '~> 2.13.0'
18-
AMPLIFY_VERSION = '0.10.0'
18+
AMPLIFY_VERSION = '0.11.0'
1919

2020
s.source_files = 'AmplifyPlugins/Predictions/AWSPredictionsPlugin/**/*.swift'
2121
s.dependency 'AWSComprehend', AWS_SDK_VERSION

Amplify.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = 'Amplify'
12-
s.version = '0.10.0'
12+
s.version = '0.11.0'
1313
s.summary = 'Amazon Web Services Amplify for iOS.'
1414

1515
s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'

Amplify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyFunctionalTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

AmplifyPlugins.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = 'AmplifyPlugins'
12-
s.version = '0.10.0'
12+
s.version = '0.11.0'
1313
s.summary = 'Amazon Web Services Amplify for iOS.'
1414

1515
s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'
@@ -23,7 +23,7 @@ Pod::Spec.new do |s|
2323
s.requires_arc = true
2424

2525
AWS_SDK_VERSION = '~> 2.13.0'
26-
AMPLIFY_VERSION = '0.10.0'
26+
AMPLIFY_VERSION = '0.11.0'
2727

2828
s.subspec 'AWSAPIPlugin' do |ss|
2929
ss.source_files = 'AmplifyPlugins/API/AWSAPICategoryPlugin/**/*.swift'

AmplifyPlugins/API/AWSAPICategoryPlugin/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Analytics/AWSPinpointAnalyticsPlugin/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Core/AWSPluginsCore/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class AmplifyAWSServiceConfiguration: AWSServiceConfiguration {
1212
override public class func baseUserAgent() -> String! {
1313
//TODO: Retrieve this version from a centralized location:
1414
//https://github.com/aws-amplify/amplify-ios/issues/276
15-
let version = "0.10.0"
15+
let version = "0.11.0"
1616
let sdkName = "amplify-iOS"
1717
let systemName = UIDevice.current.systemName.replacingOccurrences(of: " ", with: "-")
1818
let systemVersion = UIDevice.current.systemVersion

AmplifyPlugins/Core/AWSPluginsCoreTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

AmplifyPlugins/Core/AWSPluginsTestCommon/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Predictions/AWSPredictionsPlugin/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Predictions/CoreMLPredictionsPlugin/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyPlugins/Storage/AWSS3StoragePlugin/Resources/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyTestApp/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
<key>LSRequiresIPhoneOS</key>

AmplifyTestCommon.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |spec|
1010

1111
spec.name = "AmplifyTestCommon"
12-
spec.version = "0.10.0"
12+
spec.version = "0.11.0"
1313
spec.summary = "Test resources used by different targets"
1414
spec.description = "Provides different test resources and mock methods"
1515

@@ -22,10 +22,10 @@ Pod::Spec.new do |spec|
2222
spec.requires_arc = true
2323

2424
spec.source_files = 'AmplifyTestCommon/**/*.swift'
25-
spec.dependency 'Amplify', '0.10.0'
25+
spec.dependency 'Amplify', '0.11.0'
2626

2727
spec.subspec 'AWSPluginsTestCommon' do |subspec|
2828
subspec.source_files = 'AmplifyPlugins/Core/AWSPluginsTestCommon/**/*.swift'
29-
spec.dependency 'AWSPluginsCore', '0.10.0'
29+
spec.dependency 'AWSPluginsCore', '0.11.0'
3030
end
3131
end

AmplifyTestCommon/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
</dict>

AmplifyTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.10.0</string>
18+
<string>0.11.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

CoreMLPredictionsPlugin.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'CoreMLPredictionsPlugin'
4-
s.version = '0.10.0'
4+
s.version = '0.11.0'
55
s.summary = 'Amazon Web Services Amplify for iOS.'
66

77
s.description = 'AWS Amplify for iOS provides a declarative library for application development using cloud services'
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
1414

1515
s.requires_arc = true
1616
s.source_files = 'AmplifyPlugins/Predictions/CoreMLPredictionsPlugin/**/*.swift'
17-
s.dependency 'Amplify', '0.10.0'
17+
s.dependency 'Amplify', '0.11.0'
1818

1919
end
2020

fastlane/Fastfile

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,30 @@ opt_out_usage
1717

1818
default_platform(:ios)
1919

20+
COCOAPODS_PUSH_WAIT_TIME = 600
21+
2022
pods = [
21-
"Amplify.podspec",
22-
"AWSPluginsCore.podspec",
23-
"CoreMLPredictionsPlugin.podspec",
24-
"AWSPredictionsPlugin.podspec",
25-
"AmplifyPlugins.podspec"
23+
{spec: "Amplify.podspec", sleep: true},
24+
# AmplifyPlugins depends on AWSPluginsCore, but skipping the sleep here
25+
# since there's one after CoreMLPredictionsPlugin
26+
{spec: "AWSPluginsCore.podspec", sleep: false},
27+
{spec: "CoreMLPredictionsPlugin.podspec", sleep: true},
28+
{spec: "AWSPredictionsPlugin.podspec", sleep: false},
29+
{spec: "AmplifyPlugins.podspec", sleep: false}
2630
]
2731

2832
platform :ios do
29-
desc "Bump pod versions"
30-
lane :bump_podspecs_patch do
31-
32-
pods.each { |pod| version_bump_podspec(path: pod, bump_type: "patch") }
33-
34-
end
35-
3633
desc "Release pods"
3734
lane :release_pods do
3835

3936
pods.each { |pod|
40-
pod_push(path: pod, allow_warnings: true, swift_version: "5.1")
37+
UI.message("Pushing pod #{pod[:spec]}")
38+
pod_push(path: pod[:spec], allow_warnings: true, swift_version: "5.1")
39+
if pod[:sleep]
40+
UI.message("Sleeping for #{COCOAPODS_PUSH_WAIT_TIME}s")
41+
sleep COCOAPODS_PUSH_WAIT_TIME
42+
end
43+
4144
Actions.sh('pod repo update')
4245
}
4346

0 commit comments

Comments
 (0)