From f2286c25dde4bacb943a4d3260ed406c30882e5e Mon Sep 17 00:00:00 2001 From: Tolgahan Date: Wed, 10 Jun 2026 18:50:44 +0300 Subject: [PATCH] fix(podspec): set CocoaPods README URL --- oms-client-swift-sdk.podspec | 1 + publishing.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/oms-client-swift-sdk.podspec b/oms-client-swift-sdk.podspec index 5edfdad..abe90a2 100644 --- a/oms-client-swift-sdk.podspec +++ b/oms-client-swift-sdk.podspec @@ -9,6 +9,7 @@ Pod::Spec.new do |s| DESC s.homepage = "https://github.com/0xsequence/swift-sdk" + s.readme = "https://raw.githubusercontent.com/0xsequence/swift-sdk/#{s.version}/README.md" s.authors = "0xSequence" s.license = { :type => "Proprietary", diff --git a/publishing.md b/publishing.md index fd29c23..4121571 100644 --- a/publishing.md +++ b/publishing.md @@ -16,6 +16,8 @@ git switch -c "release-$VERSION" 2. Update release metadata and docs. - Set `s.version` in `oms-client-swift-sdk.podspec` to `$VERSION`. +- Keep the podspec `s.readme` URL versioned with `s.version` so CocoaPods renders + the README for the published release. - Update the CocoaPods install snippet in `README.md` to the same version. - If `README.md` includes an exact-version Swift Package Manager snippet, update it to the same version. - If public APIs, behavior, setup, or examples changed, update `API.md` and the relevant README sections in the same PR.