Skip to content

Commit 60f790f

Browse files
committed
Don't try to publish the API docs
1 parent d6a48d4 commit 60f790f

File tree

8 files changed

+9
-85
lines changed

8 files changed

+9
-85
lines changed

.github/workflows/build-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ jobs:
1616
- uses: ruby/setup-ruby@v1
1717
with:
1818
bundler-cache: true
19-
- run: sudo xcode-select -switch /Applications/Xcode_16.4.app
19+
- run: sudo xcode-select -switch /Applications/Xcode_26.0.app
2020
- run: bundle exec sh build.sh verify-docs
2121
swiftlint:
2222
runs-on: macos-15
2323
name: Check swiftlint
2424
steps:
2525
- uses: actions/checkout@v4
26-
- run: sudo xcode-select -switch /Applications/Xcode_16.4.app
26+
- run: sudo xcode-select -switch /Applications/Xcode_26.0.app
2727
- run: brew install swiftlint
2828
- run: sh build.sh verify-swiftlint
2929

.github/workflows/master-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
env:
99
XCODE_VERSION: "['16.3', '16.4', '26.0.1']"
1010
PLATFORM: "['ios', 'osx', 'watchos', 'tvos', 'catalyst', 'visionos']"
11-
RELEASE_VERSION: '16.4'
12-
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
11+
RELEASE_VERSION: '26.0.1'
12+
DEVELOPER_DIR: /Applications/Xcode_26.0.1.app/Contents/Developer
1313
jobs:
1414
prepare:
1515
runs-on: ubuntu-latest

.github/workflows/publish-release.yml

Lines changed: 2 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Publish release
22
on: workflow_dispatch
33
env:
4-
XCODE_VERSION: "['16.3', '16.4', '26']"
5-
TEST_XCODE_VERSION: '16.4'
4+
XCODE_VERSION: "['16.3', '16.4', '26.0.1']"
5+
TEST_XCODE_VERSION: '26.0.1'
66
jobs:
77
prepare:
88
runs-on: ubuntu-latest
@@ -32,22 +32,6 @@ jobs:
3232
tag: "v${{ needs.prepare.outputs.VERSION }}"
3333
tag_exists_error: false
3434
message: ""
35-
publish-docs:
36-
runs-on: macos-15
37-
name: Publish docs to S3 Bucket
38-
needs: tag-release
39-
env:
40-
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_DOCS_ACCESS_KEY }}
41-
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_DOCS_SECRET_ACCESS_KEY }}
42-
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
steps:
44-
- uses: actions/checkout@v4
45-
- uses: ruby/setup-ruby@v1
46-
with:
47-
bundler-cache: true
48-
- run: brew install s3cmd
49-
- name: Publish docs
50-
run: bundle exec sh -x build.sh publish-docs ${{ github.sha }}
5135
create-release:
5236
runs-on: macos-15
5337
name: Create github release
@@ -145,41 +129,3 @@ jobs:
145129
max_attempts: 10
146130
retry_wait_seconds: 60
147131
retry_on: error
148-
post-slack-release:
149-
runs-on: macos-15
150-
name: Publish to release Slack channel
151-
needs: [create-release, prepare, publish-cocoapods, update-checker, publish-docs]
152-
env:
153-
WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK }}
154-
steps:
155-
- uses: actions/checkout@v4
156-
- uses: ruby/setup-ruby@v1
157-
with:
158-
bundler-cache: true
159-
- name: Prepare Changelog
160-
run: bundle exec ./build.sh prepare-publish-changelog
161-
- name: 'Post to #realm-releases'
162-
uses: realm/ci-actions/release-to-slack@a2191a6cbf2f5b50aa71026dd068582dbd5016cc
163-
with:
164-
changelog: ExtractedChangelog/CHANGELOG.md
165-
sdk: Swift
166-
webhook-url: ${{ env.WEBHOOK_URL }}
167-
version: ${{ needs.prepare.outputs.VERSION }}
168-
add-empty-changelog:
169-
runs-on: macos-15
170-
permissions:
171-
contents: write
172-
name: Add empty changelog and commits/push it
173-
needs: [post-slack-release]
174-
env:
175-
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
176-
steps:
177-
- uses: actions/checkout@v4
178-
- name: Add template to changelog
179-
run: |
180-
sh build.sh add-empty-changelog
181-
- name: Auto-commit CHANGELOG.md
182-
uses: stefanzweifel/git-auto-commit-action@v4
183-
with:
184-
file_pattern: 'CHANGELOG.md'
185-
commit_message: 'Add an empty changelog section'

CHANGELOG.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,7 @@
11
x.y.z Release notes (yyyy-MM-dd)
22
=============================================================
3-
### Enhancements
4-
* None.
5-
6-
### Fixed
7-
* <How to hit and notice issue? what was the impact?> ([#????](https://github.com/realm/realm-swift/issues/????), since v?.?.?)
8-
* None.
9-
10-
<!-- ### Breaking Changes - ONLY INCLUDE FOR NEW MAJOR version -->
113

12-
### Compatibility
13-
* Realm Studio: 15.0.0 or later.
14-
* APIs are backwards compatible with all previous releases in the 10.x.y series.
15-
* Carthage release for Swift is built with Xcode 16.4.0.
16-
* CocoaPods: 1.10 or later.
17-
* Xcode: 16.2.0-26.0.1.
18-
19-
### Internal
20-
* Upgraded realm-core from ? to ?
4+
Add Xcode 26.0.1 binaries and drop support for Xcode < 16.3.
215

226
10.54.5 Release notes (2025-06-15)
237
=============================================================

Realm.podspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ Pod::Spec.new do |s|
1010
1111
Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/.
1212
DESC
13-
s.homepage = "https://realm.io"
1413
s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" }
1514
s.author = { 'Realm' => '[email protected]' }
1615
s.library = 'c++', 'z', 'compression'
1716
s.requires_arc = true
18-
s.social_media_url = 'https://twitter.com/realm'
19-
s.documentation_url = "https://docs.mongodb.com/realm/sdk/swift"
2017
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
2118

2219
public_header_files = 'include/Realm.h',

RealmSwift.podspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ Pod::Spec.new do |s|
99
1010
Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/atlas/device-sdks/sdk/swift/.
1111
DESC
12-
s.homepage = "https://realm.io"
1312
s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" }
1413
s.author = { 'Realm' => '[email protected]' }
1514
s.requires_arc = true
16-
s.social_media_url = 'https://twitter.com/realm'
17-
s.documentation_url = "https://docs.mongodb.com/realm/sdk/swift"
1815
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
1916
s.ios.deployment_target = '12.0'
2017
s.osx.deployment_target = '10.13'

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ x.y.z Release notes (yyyy-MM-dd)
11671167
### Compatibility
11681168
* Realm Studio: 15.0.0 or later.
11691169
* APIs are backwards compatible with all previous releases in the 10.x.y series.
1170-
* Carthage release for Swift is built with Xcode 16.4.0.
1170+
* Carthage release for Swift is built with Xcode 26.0.1.
11711171
* CocoaPods: 1.10 or later.
11721172
* Xcode: 16.3.0-26.0.1.
11731173

scripts/pr-ci-matrix.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env ruby
22
XCODE_VERSIONS = %w(16.3 16.4 26.0)
3-
DOC_VERSION = '16.4'
3+
DOC_VERSION = '26.0'
44

55
all = ->(v) { true }
66
latest_only = ->(v) { v == XCODE_VERSIONS.last }

0 commit comments

Comments
 (0)