-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #871 from ccgus/cocoapods-docs
add CocoaPods release process docs
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# CocoaPods release process | ||
|
||
1. Update `s.version` in `FMDB.Podspec`. | ||
2. Tag the release (`git tag x.y.z && git push --tags`). | ||
3. Lint the podspec as a pre-check. | ||
- Run `pod spec lint` from within a clean working copy. | ||
- If you have any failures, address the errors mentioned. | ||
- Sometimes, errors are cryptic. A common problem is not having **all** of the supported simulators (macOS, iOS, watchOS, and tvOS) installed and updated. | ||
- You can narrow down the problem platform(s) with e.g. `pod spec lint --platforms=watchos` to see which pass and which fail. | ||
- You can also get a _lot_ more info with `pod spec lint --verbose`. | ||
4. Push the podspec up to CocoaPods with `pod trunk push`. You will need access as well as an active session (`pod trunk me` / `pod trunk register`). | ||
5. 🍻 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,5 +46,6 @@ Xianliang Li (Oldman) | |
David Hart | ||
Mike Ash | ||
Julius Scott | ||
Justin Miller | ||
|
||
Aaaaannnd, Gus Mueller (that's me!) |