File tree Expand file tree Collapse file tree 3 files changed +31
-18
lines changed Expand file tree Collapse file tree 3 files changed +31
-18
lines changed Original file line number Diff line number Diff line change 1
1
GIT
2
2
remote: https://github.com/aws-amplify/amplify-ci-support
3
- revision: 512a6f2f1c92c19f752fb238ad04d077cf3151a5
3
+ revision: c4b34efd1ce2076cc3275df6ebb83075d0f62afe
4
4
branch: main
5
5
glob: src/fastlane/release_actions/*.gemspec
6
6
specs:
Original file line number Diff line number Diff line change @@ -11,11 +11,15 @@ platform :ios do
11
11
# to reduce race conditions with simultaneous pipelines attempting to create the same tag
12
12
sh ( 'git' , 'fetch' , '--tags' )
13
13
sh ( 'git' , 'fetch' )
14
+ sh ( 'git' , 'status' )
14
15
end
15
16
desc "Create a pre-release version by pushing a tag to GitHub, and pushing pods to CocoaPods"
16
17
lane :unstable do
17
18
next_version = calculate_next_canary_version
18
-
19
+ if next_version >= '2.0.0'
20
+ UI . message ( "Received version: #{ next_version } , exiting lane because version is larger than 2.0.0" )
21
+ next
22
+ end
19
23
UI . message ( "Releasing unstable version: #{ next_version } " )
20
24
21
25
# Increment all specs and plists
@@ -30,8 +34,11 @@ platform :ios do
30
34
31
35
desc "Create a release version by building and committing a changelog, pushing a tag to GitHub, and pushing pods to CocoaPods"
32
36
lane :release do
33
- next_version , commits = calculate_next_release_version ( version_limit :"v2.0.0" )
34
-
37
+ next_version , commits = calculate_next_release_version ( version_limit :'v2.0.0' )
38
+ if next_version >= '2.0.0'
39
+ UI . message ( "Received version: #{ next_version } , exiting lane because version is larger than 2.0.0" )
40
+ next
41
+ end
35
42
UI . message ( "Releasing version: #{ next_version } " )
36
43
37
44
# Increment all specs and plists
Original file line number Diff line number Diff line change 1
1
fastlane documentation
2
- ================
2
+ ----
3
+
3
4
# Installation
4
5
5
6
Make sure you have the latest version of the Xcode command line tools installed:
6
7
7
- ```
8
+ ``` sh
8
9
xcode-select --install
9
10
```
10
11
11
- Install _ fastlane_ using
12
- ```
13
- [sudo] gem install fastlane -NV
14
- ```
15
- or alternatively using ` brew cask install fastlane `
12
+ For _ fastlane_ installation instructions, see [ Installing _ fastlane_ ] ( https://docs.fastlane.tools/#installing-fastlane )
16
13
17
14
# Available Actions
15
+
18
16
## iOS
17
+
19
18
### ios unstable
19
+
20
+ ``` sh
21
+ [bundle exec] fastlane ios unstable
20
22
```
21
- fastlane ios unstable
22
- ```
23
+
23
24
Create a pre-release version by pushing a tag to GitHub, and pushing pods to CocoaPods
25
+
24
26
### ios release
27
+
28
+ ``` sh
29
+ [bundle exec] fastlane ios release
25
30
```
26
- fastlane ios release
27
- ```
31
+
28
32
Create a release version by building and committing a changelog, pushing a tag to GitHub, and pushing pods to CocoaPods
29
33
30
34
----
31
35
32
- This README.md is auto-generated and will be re-generated every time [ fastlane] ( https://fastlane.tools ) is run.
33
- More information about fastlane can be found on [ fastlane.tools] ( https://fastlane.tools ) .
34
- The documentation of fastlane can be found on [ docs.fastlane.tools] ( https://docs.fastlane.tools ) .
36
+ This README.md is auto-generated and will be re-generated every time [ _ fastlane_ ] ( https://fastlane.tools ) is run.
37
+
38
+ More information about _ fastlane_ can be found on [ fastlane.tools] ( https://fastlane.tools ) .
39
+
40
+ The documentation of _ fastlane_ can be found on [ docs.fastlane.tools] ( https://docs.fastlane.tools ) .
You can’t perform that action at this time.
0 commit comments