Skip to content

Commit 9cbea35

Browse files
committed
Update docs so folks copy/pasting with package managers will get updates.
Reading the docs for both ~> 1.0 means any 1.x.y but not up to 2.0, which seems like the safe thing to spell out. Since we don't intend to do anything api breaking in the 1.x versioning, hopefully set folks up on the right things if they copy/paste.
1 parent 72e4334 commit 9cbea35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ If you're using CocoaPods, add this to your `Podfile` adjusting the `:tag` to
191191
match the `[tag_name]` you used to build the plugin above:
192192

193193
```ruby
194-
pod 'SwiftProtobuf', '~> 1.0.1'
194+
pod 'SwiftProtobuf', '~> 1.0'
195195
```
196196

197197
And run `pod install`.
@@ -203,7 +203,7 @@ And run `pod install`.
203203
If you're using Carthage, add this to your `Cartfile` but adjust the tag to match the `[tag_name]` you used to build the plugin above:
204204

205205
```ruby
206-
github "apple/swift-protobuf" "1.0.1"
206+
github "apple/swift-protobuf" ~> 1.0
207207
```
208208

209209
Run `carthage update` and drag `SwiftProtobuf.framework` into your Xcode.project.

0 commit comments

Comments
 (0)