Skip to content

Commit 4d73ffe

Browse files
committed
Remove release notes about .swift-version.
Podspec was updated to use the newer support to list multiple supported versions instead.
1 parent e60add2 commit 4d73ffe

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Documentation/RELEASING.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ When doing a release:
5050
5151
1. 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-
9178
1. 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

0 commit comments

Comments
 (0)