Skip to content

Commit

Permalink
Point the cocoapods docs url at 5.5.0 since we can't publish new ones
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Mar 18, 2021
1 parent 7e91ebd commit 7ec5df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Realm.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ Pod::Spec.new do |s|
s.library = 'c++', 'z'
s.requires_arc = true
s.social_media_url = 'https://twitter.com/realm'
has_versioned_docs = !(version =~ /alpha|beta|rc/)
s.documentation_url = "https://realm.io/docs/objc/#{has_versioned_docs ? s.version : 'latest'}"
s.documentation_url = "https://docs.mongodb.com/realm-legacy/docs/objc/5.5.0/"
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }

public_header_files = 'include/**/RLMArray.h',
Expand Down
3 changes: 1 addition & 2 deletions RealmSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Pod::Spec.new do |s|
s.author = { 'Realm' => '[email protected]' }
s.requires_arc = true
s.social_media_url = 'https://twitter.com/realm'
has_versioned_docs = !(version =~ /alpha|beta|rc/)
s.documentation_url = "https://realm.io/docs/swift/#{has_versioned_docs ? s.version : 'latest'}"
s.documentation_url = "https://docs.mongodb.com/realm-legacy/docs/swift/5.5.0/"
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }

s.dependency 'Realm', "= #{s.version}"
Expand Down

0 comments on commit 7ec5df0

Please sign in to comment.