File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,6 @@ When doing a release:
5050
51511. Publish the CocoaPod
5252
53- _Note:_ The `pod` binary is currently pushing the use of the `.swift-version` file to control
54- how a spec is checked for `spec lint` and `trunk push`. But the file isn't well documented and
55- there has been some questions around that net that seem to imply people interpret this as the
56- "version of Swift the pod supports". Since SwiftProtobuf supports multiple versions, a
57- `.swift-version` file currently isn't included. So you want the `spec lint` to pass with only
58- the warning about the file. And when doing the `trunk push` you'll want to include
59- `--allow-warnings` to let the push happen despite the warning. Even if you use
60- `--swift-version=#` to either commend, the `pod` binary still produces the warning, so it
61- doesn't work to avoid the warning.
62-
6353 1. Do a final sanity check that CocoaPods is happy with the release you just made, in the project
6454 directory:
6555
@@ -80,14 +70,11 @@ When doing a release:
8070 1. Publish the pod:
8171
8272 ```
83- $ pod trunk push [--allow-warnings] SwiftProtobuf.podspec
73+ $ pod trunk push SwiftProtobuf.podspec
8474 ```
8575
8676 _Note:_ This uses that local copy of the podspec.
8777
88- See the _Note_ at the start of this section about `.swift-version` and why you might
89- need `--allow-warnings`.
90-
91781. Bump the version on _master_
9279
9380 To help tell if someone is using _master_ before it has been cut as a release, go ahead and
You can’t perform that action at this time.
0 commit comments