Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5a492ec
Add GutenbergKitResources target
mokagio Feb 9, 2026
ab24052
Migrate `package` to `internal` access
mokagio Feb 9, 2026
e74fe01
Use GutenbergKitResources for asset access
mokagio Feb 9, 2026
a15a2e0
Remove Gutenberg resources from GutenbergKit target
mokagio Feb 9, 2026
643b926
Add build_xcframework.sh and Makefile targets
mokagio Feb 9, 2026
fb64969
Update CI pipeline for local resource builds
mokagio Feb 9, 2026
1b5cd8b
Add Fastlane release automation
mokagio Feb 9, 2026
e029a56
Remove tracked built JS assets from Git
mokagio Feb 9, 2026
752e7cb
Use stronger shebang
mokagio Feb 10, 2026
f1c70d1
Fix CI: expose resources product, skip signing
mokagio Feb 10, 2026
7a372da
Use -destination instead of -sdk in xcodebuild
mokagio Feb 10, 2026
35e3226
Use GutenbergKitTests scheme for test action
mokagio Feb 10, 2026
9ab740c
Fix XCFramework build for Xcode 26
mokagio Feb 11, 2026
5daee0b
Simplify CI pipeline config
mokagio Feb 11, 2026
c1dfec6
Read GITHUB_TOKEN only from env
mokagio Feb 11, 2026
3a58d5b
Avoid shell interpolation in Fastfile sh call
mokagio Feb 11, 2026
34ca96c
Remove section header comments from Fastfile
mokagio Feb 11, 2026
cc4c97d
Use XCODEBUILD_CMD macro in test-swift-package
mokagio Feb 11, 2026
9ea6f3c
Use GutenbergKitTests scheme for test target
mokagio Feb 11, 2026
1094255
Fix test scheme: use GutenbergKit-Package
mokagio Feb 11, 2026
cacac47
Use OS=latest for simulator destination
mokagio Feb 11, 2026
8ad1fff
Preserve `.gitkeep` during JS build copy
mokagio Feb 12, 2026
071f7ec
Increase `URLCache` clear delay to fix flaky test
mokagio Feb 12, 2026
7527ac7
Remove useless comment
mokagio Feb 12, 2026
e80ecda
Use XCODEBUILD_CMD macro in test-swift-package
mokagio Feb 12, 2026
8e35e17
Align Fastlane on v-prefixed tags
mokagio Feb 13, 2026
5b808b8
Add tag-triggered S3 publish step to CI
mokagio Feb 13, 2026
14caa8c
Escape `$` in pipeline interpolation
mokagio Feb 19, 2026
6f87f2a
Use `:xcode:` emoji for XCFramework
mokagio Mar 3, 2026
f701d16
Add `install_gems` to S3 publish step
mokagio Mar 3, 2026
b4ac14f
Track Gemfile.lock (?!)
mokagio Mar 3, 2026
22ac925
Install gems at the start
mokagio Mar 3, 2026
723b402
Add Bundler settings and rebundle
mokagio Mar 3, 2026
d320c39
Use full commit sha in XCFramework ZIP
mokagio Mar 3, 2026
692e5f5
Rename resources dir to fix codesign
mokagio Mar 3, 2026
294a2b8
Track `GutenbergKit/Gutenberg/assets` deletion from automation
mokagio Mar 4, 2026
8a138bf
Fix S3 key to match Package.swift URL
mokagio Mar 4, 2026
2877589
Guard version lanes against empty strings
mokagio Mar 4, 2026
cb02250
Extract `required_version!` helper
mokagio Mar 4, 2026
71d39d1
Move S3 publish to a dedicated script
mokagio Mar 4, 2026
77c501f
Update xcframework coordinates
mokagio Mar 4, 2026
b3d42b0
Add CFBundleExecutable to framework plist
mokagio Mar 4, 2026
9cc863e
Update xcframework coord to version with Info.plist fix
mokagio Mar 4, 2026
74af0b9
Link XCFramework .o into a dylib
mokagio Mar 5, 2026
a524726
Update xcframework revision in `Package.swift`
mokagio Mar 5, 2026
40958e1
Copy dist into GutenbergKitResources for E2E
mokagio Mar 5, 2026
9f49c80
Stop copying dist into GutenbergKit/Gutenberg
mokagio Mar 5, 2026
91a1b47
Extract copy-dist-ios and copy-dist-android
mokagio Mar 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@ steps:
plugins: *plugins

- label: ':swift: Test Swift Package'
command: swift test
command: make test-swift-package REFRESH_L10N=1 REFRESH_JS_BUILD=1
plugins: *plugins

- label: ':xcode: Build XCFramework'
command: make build-resources-xcframework
artifact_paths:
- '*.xcframework.zip*'
plugins: *plugins

- label: ':ios: Test iOS E2E'
Expand All @@ -64,3 +70,8 @@ steps:
tar -xzf dist.tar.gz
make test-ios-e2e
plugins: *plugins

- label: ':rocket: Publish XCFramework to S3'
if: build.tag =~ /^v/
command: .buildkite/publish-xcframework.sh
plugins: *plugins
14 changes: 14 additions & 0 deletions .buildkite/publish-xcframework.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -euo pipefail

version="${BUILDKITE_TAG#v}"

if [[ -z "$version" ]]; then
echo "Error: BUILDKITE_TAG is unset or empty"
exit 1
fi

install_gems
make build-resources-xcframework REFRESH_L10N=1 REFRESH_JS_BUILD=1
bundle exec fastlane publish_to_s3 "version:${version}"
4 changes: 4 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_SPECIFIC_PLATFORM: "false"
BUNDLE_FORCE_RUBY_PLATFORM: "true"
17 changes: 12 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,16 @@ xcuserdata
timeline.xctimeline
playground.xcworkspace


## Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/

.build/
.swiftpm

# Ruby tooling
vendor/bundle

# Logs
logs
*.log
Expand Down Expand Up @@ -189,9 +190,15 @@ local.properties
/android/Gutenberg/src/main/assets/assets
/android/Gutenberg/src/main/assets/index.html

# Disabled removing these files until this is published like Android in CI.
# /ios/Sources/GutenbergKit/Gutenberg/assets
# /ios/Sources/GutenbergKit/Gutenberg/index.html
/ios/Sources/GutenbergKit/Gutenberg/assets
/ios/Sources/GutenbergKit/Gutenberg/index.html
Comment on lines +193 to +194
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should not actually be generated anymore. We can keep them here for a while to avoid issues while local copies update, or get rid of them already to avoid carrying dead weight. What do you think?

Suggested change
/ios/Sources/GutenbergKit/Gutenberg/assets
/ios/Sources/GutenbergKit/Gutenberg/index.html

/ios/Sources/GutenbergKitResources/Gutenberg/assets
/ios/Sources/GutenbergKitResources/Gutenberg/index.html

# XCFramework build output
*.xcframework
*.xcframework.zip
*.xcframework.zip.checksum.txt

# Translation files
src/translations/
Expand Down
6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'fastlane', '~> 2.230'
gem 'fastlane-plugin-wpmreleasetoolkit', '~> 13.8'
Loading
Loading