Skip to content

Commit 622da1e

Browse files
authored
Merge pull request #871 from ccgus/cocoapods-docs
add CocoaPods release process docs
2 parents 7de32c2 + 017c765 commit 622da1e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

COCOAPODS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CocoaPods release process
2+
3+
1. Update `s.version` in `FMDB.Podspec`.
4+
2. Tag the release (`git tag x.y.z && git push --tags`).
5+
3. Lint the podspec as a pre-check.
6+
- Run `pod spec lint` from within a clean working copy.
7+
- If you have any failures, address the errors mentioned.
8+
- Sometimes, errors are cryptic. A common problem is not having **all** of the supported simulators (macOS, iOS, watchOS, and tvOS) installed and updated.
9+
- You can narrow down the problem platform(s) with e.g. `pod spec lint --platforms=watchos` to see which pass and which fail.
10+
- You can also get a _lot_ more info with `pod spec lint --verbose`.
11+
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`).
12+
5. 🍻

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,6 @@ Xianliang Li (Oldman)
4646
David Hart
4747
Mike Ash
4848
Julius Scott
49+
Justin Miller
4950

5051
Aaaaannnd, Gus Mueller (that's me!)

0 commit comments

Comments
 (0)