Skip to content

Commit 618d6ce

Browse files
authored
chore: Update gemfilelock to point to the right ci script (#2505)
1 parent be84cef commit 618d6ce

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/aws-amplify/amplify-ci-support
3-
revision: 512a6f2f1c92c19f752fb238ad04d077cf3151a5
3+
revision: c4b34efd1ce2076cc3275df6ebb83075d0f62afe
44
branch: main
55
glob: src/fastlane/release_actions/*.gemspec
66
specs:

fastlane/Fastfile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ platform :ios do
1111
# to reduce race conditions with simultaneous pipelines attempting to create the same tag
1212
sh('git', 'fetch', '--tags')
1313
sh('git', 'fetch')
14+
sh('git', 'status')
1415
end
1516
desc "Create a pre-release version by pushing a tag to GitHub, and pushing pods to CocoaPods"
1617
lane :unstable do
1718
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
1923
UI.message("Releasing unstable version: #{next_version}")
2024

2125
# Increment all specs and plists
@@ -30,8 +34,11 @@ platform :ios do
3034

3135
desc "Create a release version by building and committing a changelog, pushing a tag to GitHub, and pushing pods to CocoaPods"
3236
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
3542
UI.message("Releasing version: #{next_version}")
3643

3744
# Increment all specs and plists

fastlane/README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
fastlane documentation
2-
================
2+
----
3+
34
# Installation
45

56
Make sure you have the latest version of the Xcode command line tools installed:
67

7-
```
8+
```sh
89
xcode-select --install
910
```
1011

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)
1613

1714
# Available Actions
15+
1816
## iOS
17+
1918
### ios unstable
19+
20+
```sh
21+
[bundle exec] fastlane ios unstable
2022
```
21-
fastlane ios unstable
22-
```
23+
2324
Create a pre-release version by pushing a tag to GitHub, and pushing pods to CocoaPods
25+
2426
### ios release
27+
28+
```sh
29+
[bundle exec] fastlane ios release
2530
```
26-
fastlane ios release
27-
```
31+
2832
Create a release version by building and committing a changelog, pushing a tag to GitHub, and pushing pods to CocoaPods
2933

3034
----
3135

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).

0 commit comments

Comments
 (0)