Skip to content

Commit 7c9165a

Browse files
committed
ci: prepare repo for new CI/CD runners architecture
- Add `abbrev` in Gemfile as it made Fastlane failed on new runners - Add missing symbol for outputs - More debug log in Fastfile for GitHub API Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 2bb30d3 commit 7c9165a

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

DesignToolbox/fastlane/Fastfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ platform :ios do
223223
desc "BUILD & UPLOAD TO TESTFLIGHT ALPHA APP"
224224
lane :alpha do |params|
225225
issues_numbers = params[:issueNumber]
226-
puts "👉 Alpha (commit hash = '#{params[:commitHash]}, issue number = '#{issues_numbers}')"
226+
puts "👉 Alpha (commit hash = '#{params[:commitHash]}', issue number = '#{issues_numbers}')"
227227

228228
if issues_numbers.nil? || issues_numbers.empty?
229229
puts "❌ Error: No issues numbers have been given for alpha builds, nothing will be done"
@@ -563,7 +563,7 @@ platform :ios do
563563
puts "ℹ️ Light tag '#{tag}' published in repository"
564564
return true
565565
else
566-
puts "❌ Error: Failed to publish light tag '#{tag}'"
566+
puts "❌ Error: Failed to publish light tag '#{tag}' (#{response.code.to_i})"
567567
return false
568568
end
569569
end

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
source "https://rubygems.org"
1515

16-
gem 'cocoapods', '1.16.2'
16+
gem 'abbrev', '0.1.2'
17+
gem 'cocoapods', '1.16.2'
1718
gem 'fastlane', '2.227.0'
1819
gem 'fastlane-plugin-changelog', '0.16.0'
1920
gem 'fastlane-plugin-mattermost', '1.3.2'

Gemfile.lock

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ GEM
55
base64
66
nkf
77
rexml
8+
abbrev (0.1.2)
89
activesupport (7.2.2.1)
910
base64
1011
benchmark (>= 0.3)
@@ -322,6 +323,7 @@ PLATFORMS
322323
x86_64-linux-musl
323324

324325
DEPENDENCIES
326+
abbrev (= 0.1.2)
325327
cocoapods (= 1.16.2)
326328
fastlane (= 2.227.0)
327329
fastlane-plugin-changelog (= 0.16.0)

0 commit comments

Comments
 (0)