Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Update build tooling (fastlane to 2.238.0, Ruby 3.4.9, Xcode 26.6) (#4099)

Gio Lodi860753b9fbea
diff --git a/.buildkite/shared-pipeline-vars b/.buildkite/shared-pipeline-vars
index 41a18d962..99540526e 100644
--- a/.buildkite/shared-pipeline-vars
+++ b/.buildkite/shared-pipeline-vars
@@ -3,7 +3,7 @@
# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.
-XCODE_VERSION=$(sed -E 's/^~> ?//' .xcode-version)
+XCODE_VERSION=$(cat .xcode-version)
CI_TOOLKIT_PLUGIN_VERSION="6.1.0"
NVM_PLUGIN_VERSION="0.6.0"
diff --git a/.ruby-version b/.ruby-version
index a0891f563..7bcbb3808 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-3.3.4
+3.4.9
diff --git a/.xcode-version b/.xcode-version
index 58eede2a6..7363977a2 100644
--- a/.xcode-version
+++ b/.xcode-version
@@ -1 +1 @@
-26.5
+26.6
diff --git a/Gemfile b/Gemfile
index ce64d6d04..713675671 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,5 +2,5 @@
source 'https://rubygems.org'
-gem 'fastlane', '~> 2.233'
+gem 'fastlane', '~> 2.238'
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 14.6'
diff --git a/Gemfile.lock b/Gemfile.lock
index 1d6a6459e..780d19a4c 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -8,8 +8,8 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.4.0)
- aws-partitions (1.1253.0)
- aws-sdk-core (3.249.0)
+ aws-partitions (1.1281.0)
+ aws-sdk-core (3.254.1)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
@@ -17,11 +17,11 @@ GEM
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
- aws-sdk-kms (1.128.0)
- aws-sdk-core (~> 3, >= 3.248.0)
+ aws-sdk-kms (1.130.0)
+ aws-sdk-core (~> 3, >= 3.254.0)
aws-sigv4 (~> 1.5)
- aws-sdk-s3 (1.224.0)
- aws-sdk-core (~> 3, >= 3.248.0)
+ aws-sdk-s3 (1.229.0)
+ aws-sdk-core (~> 3, >= 3.254.1)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.12.1)
@@ -38,7 +38,7 @@ GEM
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
- csv (3.3.5)
+ csv (3.3.6)
declarative (0.0.20)
diffy (3.4.4)
digest-crc (0.7.0)
@@ -46,41 +46,30 @@ GEM
domain_name (0.6.20240107)
dotenv (2.8.1)
emoji_regex (3.2.3)
+ erb (6.0.7)
erubi (1.13.1)
- excon (0.112.0)
- faraday (1.10.6)
- faraday-em_http (~> 1.0)
- faraday-em_synchrony (~> 1.0)
- faraday-excon (~> 1.1)
- faraday-httpclient (~> 1.0)
- faraday-multipart (~> 1.0)
- faraday-net_http (~> 1.0)
- faraday-net_http_persistent (~> 1.0)
- faraday-patron (~> 1.0)
- faraday-rack (~> 1.0)
- faraday-retry (~> 1.0)
- ruby2_keywords (>= 0.0.4)
+ excon (1.6.0)
+ logger
+ faraday (2.14.3)
+ faraday-net_http (>= 2.0, < 3.5)
+ json
+ logger
faraday-cookie_jar (0.0.8)
faraday (>= 0.8.0)
http-cookie (>= 1.0.0)
- faraday-em_http (1.0.0)
- faraday-em_synchrony (1.0.1)
- faraday-excon (1.1.0)
- faraday-httpclient (1.0.1)
+ faraday-follow_redirects (0.5.0)
+ faraday (>= 1, < 3)
faraday-multipart (1.2.0)
multipart-post (~> 2.0)
- faraday-net_http (1.0.2)
- faraday-net_http_persistent (1.2.0)
- faraday-patron (1.0.0)
- faraday-rack (1.0.0)
- faraday-retry (1.0.4)
- faraday_middleware (1.2.1)
- faraday (~> 1.0)
+ faraday-net_http (3.4.4)
+ net-http (~> 0.5)
+ faraday-retry (2.4.0)
+ faraday (~> 2.0)
fastimage (2.4.1)
- fastlane (2.235.0)
+ fastlane (2.238.0)
CFPropertyList (>= 2.3, < 5.0.0)
abbrev (~> 0.1)
- addressable (>= 2.8, < 3.0.0)
+ addressable (>= 2.9.0, < 3.0.0)
artifactory (~> 3.0)
aws-sdk-s3 (~> 1.197)
babosa (>= 1.0.3, < 2.0.0)
@@ -92,10 +81,12 @@ GEM
csv (~> 3.3)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (>= 0.1, < 4.0)
- excon (>= 0.71.0, < 1.0.0)
- faraday (~> 1.0)
- faraday-cookie_jar (~> 0.0.6)
- faraday_middleware (~> 1.0)
+ excon (>= 0.71.0, < 2.0.0)
+ faraday (~> 2.7)
+ faraday-cookie_jar (~> 0.0.8)
+ faraday-follow_redirects (~> 0.3)
+ faraday-multipart (~> 1.0)
+ faraday-retry (~> 2.0)
fastimage (>= 2.1.0, < 3.0.0)
fastlane-sirp (>= 1.1.0)
gh_inspector (>= 1.1.2, < 2.0.0)
@@ -105,10 +96,12 @@ GEM
google-cloud-storage (~> 1.31)
highline (~> 2.0)
http-cookie (~> 1.0.5)
+ irb (>= 1.8)
json (< 3.0.0)
- jwt (>= 2.1.0, < 4)
+ jwt (>= 2.10.3, < 4)
logger (>= 1.6, < 2.0)
mini_magick (>= 4.9.4, < 5.0.0)
+ multi_json (~> 1.12)
multipart-post (>= 2.0.0, < 3.0.0)
mutex_m (~> 0.3)
naturally (~> 2.2)
@@ -120,7 +113,7 @@ GEM
security (= 0.1.5)
simctl (~> 1.6.3)
terminal-notifier (>= 2.0.0, < 3.0.0)
- terminal-table (~> 3)
+ terminal-table (~> 4)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
@@ -158,30 +151,31 @@ GEM
git (1.19.1)
addressable (~> 2.8)
rchardet (~> 1.8)
- google-apis-androidpublisher_v3 (0.101.0)
+ google-apis-androidpublisher_v3 (0.106.0)
google-apis-core (>= 0.15.0, < 2.a)
- google-apis-core (0.18.0)
- addressable (~> 2.5, >= 2.5.1)
- googleauth (~> 1.9)
- httpclient (>= 2.8.3, < 3.a)
- mini_mime (~> 1.0)
- mutex_m
+ google-apis-core (1.2.5)
+ addressable (~> 2.9)
+ faraday (~> 2.13)
+ faraday-follow_redirects (~> 0.3)
+ googleauth (~> 1.14)
+ mini_mime (~> 1.1)
+ multi_json (~> 1.11)
representable (~> 3.0)
- retriable (>= 2.0, < 4.a)
- google-apis-iamcredentials_v1 (0.27.0)
+ retriable (>= 3.1, < 5.0)
+ google-apis-iamcredentials_v1 (0.28.0)
google-apis-core (>= 0.15.0, < 2.a)
- google-apis-playcustomapp_v1 (0.17.0)
+ google-apis-playcustomapp_v1 (0.18.0)
google-apis-core (>= 0.15.0, < 2.a)
- google-apis-storage_v1 (0.62.0)
+ google-apis-storage_v1 (0.66.0)
google-apis-core (>= 0.15.0, < 2.a)
- google-cloud-core (1.8.0)
+ google-cloud-core (1.9.0)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (2.2.2)
base64 (~> 0.2)
faraday (>= 1.0, < 3.a)
- google-cloud-errors (1.6.0)
- google-cloud-storage (1.60.0)
+ google-cloud-errors (1.7.0)
+ google-cloud-storage (1.62.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-core (>= 0.18, < 2)
@@ -191,22 +185,26 @@ GEM
googleauth (~> 1.9)
mini_mime (~> 1.0)
google-logging-utils (0.2.0)
- googleauth (1.16.2)
+ googleauth (1.17.3)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
jwt (>= 1.4, < 4.0)
- multi_json (~> 1.11)
os (>= 0.9, < 2.0)
+ pstore (~> 0.1)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.8)
domain_name (~> 0.5)
- httpclient (2.9.0)
- mutex_m
+ io-console (0.9.2)
+ irb (1.18.0)
+ pp (>= 0.6.0)
+ prism (>= 1.3.0)
+ rdoc (>= 4.0.0)
+ reline (>= 0.4.2)
java-properties (0.3.0)
jmespath (1.6.2)
- json (2.19.9)
+ json (2.21.2)
jwt (3.2.0)
base64
locale (2.1.5)
@@ -219,7 +217,9 @@ GEM
mutex_m (0.3.0)
nanaimo (0.4.0)
naturally (2.3.0)
- nkf (0.2.0)
+ net-http (0.9.1)
+ uri (>= 0.11.1)
+ nkf (0.3.0)
nokogiri (1.19.4-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.19.4-aarch64-linux-musl)
@@ -245,58 +245,78 @@ GEM
ostruct (0.6.3)
parallel (1.28.0)
plist (3.7.2)
+ pp (0.6.4)
+ prettyprint
+ prettyprint (0.2.0)
prime (0.1.4)
forwardable
singleton
+ prism (1.9.0)
progress_bar (1.3.4)
highline (>= 1.6)
options (~> 2.3.0)
+ pstore (0.2.1)
public_suffix (7.0.5)
racc (1.8.1)
rake (13.4.2)
rake-compiler (1.3.1)
rake
+ rbs (4.1.3)
+ logger
+ prism (>= 1.6.0)
+ tsort
rchardet (1.10.0)
+ rdoc (8.0.0)
+ erb
+ prism (>= 1.6.0)
+ rbs (>= 4.0.0)
+ tsort
+ reline (0.7.0)
+ io-console (~> 0.5)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
- retriable (3.5.0)
+ retriable (4.2.0)
rexml (3.4.4)
rouge (3.28.0)
- ruby2_keywords (0.0.5)
rubyzip (2.4.1)
sawyer (0.9.3)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
security (0.1.5)
- signet (0.21.0)
+ signet (0.22.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 4.0)
- multi_json (~> 1.10)
simctl (1.6.10)
CFPropertyList
naturally
singleton (0.3.0)
terminal-notifier (2.0.0)
- terminal-table (3.0.2)
- unicode-display_width (>= 1.1.1, < 3)
+ terminal-table (4.0.0)
+ unicode-display_width (>= 1.1.1, < 4)
text (1.3.1)
trailblazer-option (0.1.2)
+ tsort (0.2.0)
tty-cursor (0.7.1)
tty-screen (0.8.2)
tty-spinner (0.9.3)
tty-cursor (~> 0.7)
uber (0.1.0)
- unicode-display_width (2.6.0)
+ unicode-display_width (3.2.0)
+ unicode-emoji (~> 4.1)
+ unicode-emoji (4.2.0)
+ uri (1.1.1)
word_wrap (1.0.0)
- xcodeproj (1.27.0)
+ xcodeproj (1.28.1)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
+ base64
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.4.0)
+ nkf
rexml (>= 3.3.6, < 4.0)
xcpretty (0.4.1)
rouge (~> 3.28.0)
@@ -314,8 +334,8 @@ PLATFORMS
x86_64-linux-musl
DEPENDENCIES
- fastlane (~> 2.233)
+ fastlane (~> 2.238)
fastlane-plugin-wpmreleasetoolkit (~> 14.6)
BUNDLED WITH
- 2.5.11
+ 4.0.18
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index 9d447a820..875118649 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -6,8 +6,6 @@ APPLE_TEAM_ID = 'PZYM8XX95Q'
GITHUB_REPO = 'Automattic/harper'
-TAURI_CONFIG_PATH = File.expand_path('../harper-desktop/src-tauri/tauri.conf.json', __dir__)
-
CODE_SIGNING_STORAGE_OPTIONS = {
storage_mode: 's3',
s3_bucket: 'a8c-fastlane-match',
@@ -26,7 +24,6 @@ ASC_API_KEY_ENV_VARS = %w[
APP_STORE_CONNECT_API_KEY_KEY
].freeze
-require 'json'
require 'tempfile'
require 'fastlane/plugin/wpmreleasetoolkit'
@@ -65,15 +62,8 @@ desc 'Submit a signed .app or .dmg to Apple for notarization and staple the tick
lane :notarize_macos do |package:|
ASC_API_KEY_ENV_VARS.each { |k| EnvManager.get_required_env!(k) }
- # `bundle_id` is required by the action for validation, even
- # though notarytool itself doesn't need it. For .app the
- # action would auto-read it from Info.plist; for .dmg we must
- # supply it.
- bundle_id = JSON.parse(File.read(TAURI_CONFIG_PATH)).fetch('identifier')
-
notarize(
package: package,
- bundle_id: bundle_id,
api_key: app_store_connect_api_key,
print_log: true
)