Skip to content

Commit 8b79edc

Browse files
authored
Add trigger_bump lane (#942)
Add lane to trigger bumps ``` bundle exec fastlane trigger_bump ```
1 parent c796e2c commit 8b79edc

File tree

4 files changed

+46
-21
lines changed

4 files changed

+46
-21
lines changed

Gemfile.lock

Lines changed: 30 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
GIT
22
remote: https://github.com/RevenueCat/fastlane-plugin-revenuecat_internal
3-
revision: e6ba24780086c2863a59204a200f2280deea66f6
3+
revision: 8d4d9b171b3d960556b00e21b334c53af9a64751
44
specs:
55
fastlane-plugin-revenuecat_internal (0.1.0)
6+
rest-client
67

78
GEM
89
remote: https://rubygems.org/
@@ -26,20 +27,20 @@ GEM
2627
algoliasearch (1.27.5)
2728
httpclient (~> 2.8, >= 2.8.3)
2829
json (>= 1.5.1)
29-
artifactory (3.0.15)
30+
artifactory (3.0.17)
3031
atomos (0.1.3)
3132
aws-eventstream (1.3.0)
32-
aws-partitions (1.877.0)
33-
aws-sdk-core (3.190.1)
33+
aws-partitions (1.896.0)
34+
aws-sdk-core (3.191.3)
3435
aws-eventstream (~> 1, >= 1.3.0)
3536
aws-partitions (~> 1, >= 1.651.0)
3637
aws-sigv4 (~> 1.8)
3738
jmespath (~> 1, >= 1.6.1)
38-
aws-sdk-kms (1.75.0)
39-
aws-sdk-core (~> 3, >= 3.188.0)
39+
aws-sdk-kms (1.77.0)
40+
aws-sdk-core (~> 3, >= 3.191.0)
4041
aws-sigv4 (~> 1.1)
41-
aws-sdk-s3 (1.142.0)
42-
aws-sdk-core (~> 3, >= 3.189.0)
42+
aws-sdk-s3 (1.144.0)
43+
aws-sdk-core (~> 3, >= 3.191.0)
4344
aws-sdk-kms (~> 1)
4445
aws-sigv4 (~> 1.8)
4546
aws-sigv4 (1.8.0)
@@ -113,14 +114,14 @@ GEM
113114
declarative (0.0.20)
114115
digest-crc (0.6.5)
115116
rake (>= 12.0.0, < 14.0.0)
116-
domain_name (0.6.20231109)
117+
domain_name (0.6.20240107)
117118
dotenv (2.8.1)
118119
drb (2.2.1)
119120
emoji_regex (3.2.3)
120121
escape (0.0.4)
121122
ethon (0.16.0)
122123
ffi (>= 1.15.0)
123-
excon (0.109.0)
124+
excon (0.110.0)
124125
faraday (1.10.3)
125126
faraday-em_http (~> 1.0)
126127
faraday-em_synchrony (~> 1.0)
@@ -202,32 +203,31 @@ GEM
202203
rchardet (~> 1.8)
203204
google-apis-androidpublisher_v3 (0.54.0)
204205
google-apis-core (>= 0.11.0, < 2.a)
205-
google-apis-core (0.11.2)
206+
google-apis-core (0.11.3)
206207
addressable (~> 2.5, >= 2.5.1)
207208
googleauth (>= 0.16.2, < 2.a)
208209
httpclient (>= 2.8.1, < 3.a)
209210
mini_mime (~> 1.0)
210211
representable (~> 3.0)
211212
retriable (>= 2.0, < 4.a)
212213
rexml
213-
webrick
214214
google-apis-iamcredentials_v1 (0.17.0)
215215
google-apis-core (>= 0.11.0, < 2.a)
216216
google-apis-playcustomapp_v1 (0.13.0)
217217
google-apis-core (>= 0.11.0, < 2.a)
218-
google-apis-storage_v1 (0.29.0)
218+
google-apis-storage_v1 (0.31.0)
219219
google-apis-core (>= 0.11.0, < 2.a)
220-
google-cloud-core (1.6.1)
220+
google-cloud-core (1.7.0)
221221
google-cloud-env (>= 1.0, < 3.a)
222222
google-cloud-errors (~> 1.0)
223223
google-cloud-env (1.6.0)
224224
faraday (>= 0.17.3, < 3.0)
225-
google-cloud-errors (1.3.1)
226-
google-cloud-storage (1.45.0)
225+
google-cloud-errors (1.4.0)
226+
google-cloud-storage (1.47.0)
227227
addressable (~> 2.8)
228228
digest-crc (~> 0.4)
229229
google-apis-iamcredentials_v1 (~> 0.1)
230-
google-apis-storage_v1 (~> 0.29.0)
230+
google-apis-storage_v1 (~> 0.31.0)
231231
google-cloud-core (~> 1.6)
232232
googleauth (>= 0.16.2, < 2.a)
233233
mini_mime (~> 1.0)
@@ -238,24 +238,29 @@ GEM
238238
os (>= 0.9, < 2.0)
239239
signet (>= 0.16, < 2.a)
240240
highline (2.0.3)
241+
http-accept (1.7.0)
241242
http-cookie (1.0.5)
242243
domain_name (~> 0.5)
243244
httpclient (2.8.3)
244245
i18n (1.14.4)
245246
concurrent-ruby (~> 1.0)
246247
jmespath (1.6.2)
247248
json (2.7.1)
248-
jwt (2.7.1)
249+
jwt (2.8.1)
250+
base64
249251
kramdown (2.4.0)
250252
rexml
251253
kramdown-parser-gfm (1.1.0)
252254
kramdown (~> 2.0)
255+
mime-types (3.5.2)
256+
mime-types-data (~> 3.2015)
257+
mime-types-data (3.2024.0305)
253258
mini_magick (4.12.0)
254259
mini_mime (1.1.5)
255260
minitest (5.22.3)
256261
molinillo (0.8.0)
257262
multi_json (1.15.0)
258-
multipart-post (2.3.0)
263+
multipart-post (2.4.0)
259264
mutex_m (0.2.0)
260265
nanaimo (0.3.0)
261266
nap (1.1.0)
@@ -278,6 +283,11 @@ GEM
278283
declarative (< 0.1.0)
279284
trailblazer-option (>= 0.1.1, < 0.2.0)
280285
uber (< 0.2.0)
286+
rest-client (2.1.0)
287+
http-accept (>= 1.7.0, < 2.0)
288+
http-cookie (>= 1.0.2, < 2.0)
289+
mime-types (>= 1.16, < 4.0)
290+
netrc (~> 0.8)
281291
retriable (3.1.2)
282292
rexml (3.2.6)
283293
rouge (2.0.7)
@@ -288,7 +298,7 @@ GEM
288298
addressable (>= 2.3.5)
289299
faraday (>= 0.17.3, < 3)
290300
security (0.1.3)
291-
signet (0.18.0)
301+
signet (0.19.0)
292302
addressable (~> 2.8)
293303
faraday (>= 0.17.5, < 3.a)
294304
jwt (>= 1.5, < 3.0)
@@ -310,7 +320,6 @@ GEM
310320
concurrent-ruby (~> 1.0)
311321
uber (0.1.0)
312322
unicode-display_width (2.5.0)
313-
webrick (1.8.1)
314323
word_wrap (1.0.0)
315324
xcodeproj (1.24.0)
316325
CFPropertyList (>= 2.3.3, < 4.0)

fastlane/.env.SAMPLE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ GITHUB_PULL_REQUEST_API_TOKEN=
33

44
# Optional for updating changelog. Can be the same as GITHUB_PULL_REQUEST_API_TOKEN and improves issues with github api rate limits.
55
GITHUB_TOKEN=
6+
7+
# Optional for triggering CircleCI pipelines using the CircleCI API
8+
CIRCLE_TOKEN=

fastlane/Fastfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ lane :tag_current_branch do |options|
219219
push_git_tags(tag: version_number)
220220
end
221221

222+
desc "Trigger bump"
223+
lane :trigger_bump do
224+
trigger_action_in_circle_ci(action: 'bump', repo_name: repo_name)
225+
end
226+
222227
###############################################################################
223228
# Helper functions 🤜🤛 #
224229
###############################################################################

fastlane/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ Generate docs
8585

8686
Tag current branch with current version number
8787

88+
### trigger_bump
89+
90+
```sh
91+
[bundle exec] fastlane trigger_bump
92+
```
93+
94+
Trigger bump
95+
8896
----
8997

9098
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.

0 commit comments

Comments
 (0)