Skip to content

Commit 33a3c2d

Browse files
Update release flow to be able to start the release from CI (#497)
1 parent b645545 commit 33a3c2d

File tree

7 files changed

+89
-55
lines changed

7 files changed

+89
-55
lines changed

.github/actions/bootstrap/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ runs:
88
- run: echo "$HOME/.mint/bin" >> $GITHUB_PATH
99
shell: bash
1010
- name: Cache Mint
11-
uses: actions/cache@v3
11+
uses: actions/cache@v4
1212
id: mint-cache
1313
with:
1414
path: ~/.mint
1515
key: ${{ env.IMAGE }}-mint-${{ hashFiles('**/Mintfile') }}
1616
restore-keys: ${{ env.IMAGE }}-mint-
1717
- name: Cache brew
18-
uses: actions/cache@v3
18+
uses: actions/cache@v4
1919
id: brew-cache
2020
with:
2121
path: |

.github/actions/xcode-cache/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
- run: echo "$HOME/.mint/bin" >> $GITHUB_PATH
99
shell: bash
1010
- name: Cache SPM
11-
uses: actions/cache@v3
11+
uses: actions/cache@v4
1212
id: spm-cache
1313
with:
1414
path: spm_cache

.github/workflows/cron-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
matrix:
4444
include:
45-
- ios: 17.2
45+
- ios: 17.4
4646
xcode: 15.2
4747
os: macos-14
4848
device: "iPhone 15 Pro"
@@ -70,7 +70,7 @@ jobs:
7070
INSTALL_ALLURE: true
7171
INSTALL_YEETD: true
7272
- name: Cache iOS Simulator Runtime
73-
uses: actions/cache@v3
73+
uses: actions/cache@v4
7474
id: runtime-cache
7575
with:
7676
path: ~/Library/Caches/XcodeInstall/

.github/workflows/smoke-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919

2020
env:
2121
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
22-
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)"
22+
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.4)"
2323

2424
jobs:
2525
build-test-app-and-frameworks:
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Start new release"
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Release version'
8+
type: string
9+
required: true
10+
11+
jobs:
12+
test-release:
13+
name: Start new release
14+
runs-on: macos-14
15+
steps:
16+
- name: Install Bot SSH Key
17+
uses: webfactory/[email protected]
18+
with:
19+
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
20+
- uses: actions/[email protected]
21+
with:
22+
fetch-depth: 0 # to fetch git tags
23+
- uses: ./.github/actions/ruby-cache
24+
- uses: ./.github/actions/xcode-cache
25+
- name: Create Release PR
26+
run: bundle exec fastlane release version:"${{ github.event.inputs.version }}" --verbose
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }}
29+
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
30+
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}

Gemfile.lock

Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
activesupport (7.1.3)
8+
activesupport (7.1.3.3)
79
base64
810
bigdecimal
911
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -18,38 +20,38 @@ GEM
1820
algoliasearch (1.27.5)
1921
httpclient (~> 2.8, >= 2.8.3)
2022
json (>= 1.5.1)
21-
artifactory (3.0.15)
23+
artifactory (3.0.17)
2224
ast (2.4.2)
2325
atomos (0.1.3)
2426
aws-eventstream (1.3.0)
25-
aws-partitions (1.885.0)
26-
aws-sdk-core (3.191.0)
27+
aws-partitions (1.937.0)
28+
aws-sdk-core (3.196.1)
2729
aws-eventstream (~> 1, >= 1.3.0)
2830
aws-partitions (~> 1, >= 1.651.0)
2931
aws-sigv4 (~> 1.8)
3032
jmespath (~> 1, >= 1.6.1)
31-
aws-sdk-kms (1.77.0)
32-
aws-sdk-core (~> 3, >= 3.191.0)
33+
aws-sdk-kms (1.82.0)
34+
aws-sdk-core (~> 3, >= 3.193.0)
3335
aws-sigv4 (~> 1.1)
34-
aws-sdk-s3 (1.143.0)
35-
aws-sdk-core (~> 3, >= 3.191.0)
36+
aws-sdk-s3 (1.151.0)
37+
aws-sdk-core (~> 3, >= 3.194.0)
3638
aws-sdk-kms (~> 1)
3739
aws-sigv4 (~> 1.8)
3840
aws-sigv4 (1.8.0)
3941
aws-eventstream (~> 1, >= 1.0.2)
4042
babosa (1.0.4)
4143
base64 (0.2.0)
42-
bigdecimal (3.1.6)
44+
bigdecimal (3.1.8)
4345
claide (1.1.0)
4446
claide-plugins (0.9.2)
4547
cork
4648
nap
4749
open4 (~> 1.3)
4850
clamp (1.3.2)
49-
cocoapods (1.15.0)
51+
cocoapods (1.15.2)
5052
addressable (~> 2.8)
5153
claide (>= 1.0.2, < 2.0)
52-
cocoapods-core (= 1.15.0)
54+
cocoapods-core (= 1.15.2)
5355
cocoapods-deintegrate (>= 1.0.3, < 2.0)
5456
cocoapods-downloader (>= 2.1, < 3.0)
5557
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -64,7 +66,7 @@ GEM
6466
nap (~> 1.0)
6567
ruby-macho (>= 2.3.0, < 3.0)
6668
xcodeproj (>= 1.23.0, < 2.0)
67-
cocoapods-core (1.15.0)
69+
cocoapods-core (1.15.2)
6870
activesupport (>= 5.0, < 8)
6971
addressable (~> 2.8)
7072
algoliasearch (~> 1.0)
@@ -88,11 +90,11 @@ GEM
8890
colored2 (3.1.2)
8991
commander (4.6.0)
9092
highline (~> 2.0.0)
91-
concurrent-ruby (1.2.3)
93+
concurrent-ruby (1.3.1)
9294
connection_pool (2.4.1)
9395
cork (0.3.0)
9496
colored2 (~> 3.1)
95-
danger (9.4.2)
97+
danger (9.4.3)
9698
claide (~> 1.0)
9799
claide-plugins (>= 0.9.2)
98100
colored2 (~> 3.1)
@@ -114,13 +116,12 @@ GEM
114116
rake (>= 12.0.0, < 14.0.0)
115117
domain_name (0.6.20240107)
116118
dotenv (2.8.1)
117-
drb (2.2.0)
118-
ruby2_keywords
119+
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)
@@ -151,15 +152,15 @@ GEM
151152
faraday-retry (1.0.3)
152153
faraday_middleware (1.2.0)
153154
faraday (~> 1.0)
154-
fastimage (2.3.0)
155-
fastlane (2.219.0)
155+
fastimage (2.3.1)
156+
fastlane (2.220.0)
156157
CFPropertyList (>= 2.3, < 4.0.0)
157158
addressable (>= 2.8, < 3.0.0)
158159
artifactory (~> 3.0)
159160
aws-sdk-s3 (~> 1.0)
160161
babosa (>= 1.0.3, < 2.0.0)
161162
bundler (>= 1.12.0, < 3.0.0)
162-
colored
163+
colored (~> 1.2)
163164
commander (~> 4.6)
164165
dotenv (>= 2.1.1, < 3.0.0)
165166
emoji_regex (>= 0.1, < 4.0)
@@ -180,10 +181,10 @@ GEM
180181
mini_magick (>= 4.9.4, < 5.0.0)
181182
multipart-post (>= 2.0.0, < 3.0.0)
182183
naturally (~> 2.2)
183-
optparse (>= 0.1.1)
184+
optparse (>= 0.1.1, < 1.0.0)
184185
plist (>= 3.1.0, < 4.0.0)
185186
rubyzip (>= 2.0.0, < 3.0.0)
186-
security (= 0.1.3)
187+
security (= 0.1.5)
187188
simctl (~> 1.6.3)
188189
terminal-notifier (>= 2.0.0, < 3.0.0)
189190
terminal-table (~> 3)
@@ -192,14 +193,14 @@ GEM
192193
word_wrap (~> 1.0.0)
193194
xcodeproj (>= 1.13.0, < 2.0.0)
194195
xcpretty (~> 0.3.0)
195-
xcpretty-travis-formatter (>= 0.0.3)
196+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
196197
fastlane-plugin-create_xcframework (1.1.2)
197198
fastlane-plugin-lizard (1.3.3)
198199
bundler
199200
fastlane
200201
pry
201202
fastlane-plugin-sonarcloud_metric_kit (0.2.1)
202-
fastlane-plugin-stream_actions (0.3.28)
203+
fastlane-plugin-stream_actions (0.3.35)
203204
xctest_list (= 1.2.1)
204205
fastlane-plugin-versioning (0.5.2)
205206
ffi (1.16.3)
@@ -225,12 +226,12 @@ GEM
225226
google-apis-core (>= 0.11.0, < 2.a)
226227
google-apis-storage_v1 (0.31.0)
227228
google-apis-core (>= 0.11.0, < 2.a)
228-
google-cloud-core (1.6.1)
229+
google-cloud-core (1.7.0)
229230
google-cloud-env (>= 1.0, < 3.a)
230231
google-cloud-errors (~> 1.0)
231232
google-cloud-env (1.6.0)
232233
faraday (>= 0.17.3, < 3.0)
233-
google-cloud-errors (1.3.1)
234+
google-cloud-errors (1.4.0)
234235
google-cloud-storage (1.47.0)
235236
addressable (~> 2.8)
236237
digest-crc (~> 0.4)
@@ -249,9 +250,9 @@ GEM
249250
http-cookie (1.0.5)
250251
domain_name (~> 0.5)
251252
httpclient (2.8.3)
252-
i18n (1.14.1)
253+
i18n (1.14.5)
253254
concurrent-ruby (~> 1.0)
254-
jazzy (0.14.4)
255+
jazzy (0.15.0)
255256
cocoapods (~> 1.5)
256257
mustache (~> 1.1)
257258
open4 (~> 1.3)
@@ -262,21 +263,22 @@ GEM
262263
sqlite3 (~> 1.3)
263264
xcinvoke (~> 0.3.0)
264265
jmespath (1.6.2)
265-
json (2.7.1)
266-
jwt (2.7.1)
266+
json (2.7.2)
267+
jwt (2.8.1)
268+
base64
267269
kramdown (2.4.0)
268270
rexml
269271
kramdown-parser-gfm (1.1.0)
270272
kramdown (~> 2.0)
271273
liferaft (0.0.6)
272-
method_source (1.0.0)
274+
method_source (1.1.0)
273275
mini_magick (4.12.0)
274276
mini_mime (1.1.5)
275277
mini_portile2 (2.8.6)
276-
minitest (5.21.2)
278+
minitest (5.23.1)
277279
molinillo (0.8.0)
278280
multi_json (1.15.0)
279-
multipart-post (2.3.0)
281+
multipart-post (2.4.1)
280282
mustache (1.1.1)
281283
mustermann (3.0.0)
282284
ruby2_keywords (~> 0.0.1)
@@ -285,19 +287,21 @@ GEM
285287
nap (1.1.0)
286288
naturally (2.2.1)
287289
netrc (0.11.0)
288-
nio4r (2.7.0)
290+
nio4r (2.7.3)
291+
nkf (0.2.0)
289292
no_proxy_fix (0.1.2)
290293
nokogiri (1.16.5)
291294
mini_portile2 (~> 2.8.2)
292295
racc (~> 1.4)
293-
octokit (8.0.0)
296+
octokit (8.1.0)
297+
base64
294298
faraday (>= 1, < 3)
295299
sawyer (~> 0.9)
296300
open4 (1.3.4)
297-
optparse (0.4.0)
301+
optparse (0.5.0)
298302
os (1.1.4)
299303
parallel (1.24.0)
300-
parser (3.3.0.5)
304+
parser (3.3.2.0)
301305
ast (~> 2.4.1)
302306
racc
303307
plist (3.7.1)
@@ -307,8 +311,8 @@ GEM
307311
public_suffix (4.0.7)
308312
puma (6.4.2)
309313
nio4r (~> 2.0)
310-
racc (1.7.3)
311-
rack (3.0.9.1)
314+
racc (1.8.0)
315+
rack (3.0.11)
312316
rack-protection (4.0.0)
313317
base64 (>= 0.1.0)
314318
rack (>= 3.0.0, < 4)
@@ -318,10 +322,10 @@ GEM
318322
rack (>= 3)
319323
webrick (~> 1.8)
320324
rainbow (3.1.1)
321-
rake (13.1.0)
325+
rake (13.2.1)
322326
rchardet (1.8.0)
323327
redcarpet (3.6.0)
324-
regexp_parser (2.9.0)
328+
regexp_parser (2.9.2)
325329
representable (3.2.0)
326330
declarative (< 0.1.0)
327331
trailblazer-option (>= 0.1.1, < 0.2.0)
@@ -340,8 +344,8 @@ GEM
340344
rubocop-ast (>= 1.23.0, < 2.0)
341345
ruby-progressbar (~> 1.7)
342346
unicode-display_width (>= 1.4.0, < 3.0)
343-
rubocop-ast (1.30.0)
344-
parser (>= 3.2.1.0)
347+
rubocop-ast (1.31.3)
348+
parser (>= 3.3.1.0)
345349
rubocop-performance (1.19.1)
346350
rubocop (>= 1.7.0, < 2.0)
347351
rubocop-ast (>= 0.4.0)
@@ -356,8 +360,8 @@ GEM
356360
sawyer (0.9.2)
357361
addressable (>= 2.3.5)
358362
faraday (>= 0.17.3, < 3)
359-
security (0.1.3)
360-
signet (0.18.0)
363+
security (0.1.5)
364+
signet (0.19.0)
361365
addressable (~> 2.8)
362366
faraday (>= 0.17.5, < 3.a)
363367
jwt (>= 1.5, < 3.0)
@@ -377,7 +381,7 @@ GEM
377381
clamp (~> 1.3)
378382
nokogiri (>= 1.14.3)
379383
xcodeproj (~> 1.21)
380-
sqlite3 (1.7.2)
384+
sqlite3 (1.7.3)
381385
mini_portile2 (~> 2.8.0)
382386
strscan (3.1.0)
383387
terminal-notifier (2.0.0)
@@ -426,7 +430,7 @@ DEPENDENCIES
426430
fastlane-plugin-create_xcframework
427431
fastlane-plugin-lizard
428432
fastlane-plugin-sonarcloud_metric_kit
429-
fastlane-plugin-stream_actions (= 0.3.28)
433+
fastlane-plugin-stream_actions (= 0.3.35)
430434
fastlane-plugin-versioning
431435
jazzy
432436
json

fastlane/Pluginfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
gem 'fastlane-plugin-versioning'
66
gem 'fastlane-plugin-sonarcloud_metric_kit'
7-
gem 'fastlane-plugin-stream_actions', '0.3.28'
7+
gem 'fastlane-plugin-stream_actions', '0.3.35'
88
gem 'fastlane-plugin-create_xcframework'

0 commit comments

Comments
 (0)