Skip to content

Commit 57b6477

Browse files
committed
doc: Update README.md
1 parent 5103b88 commit 57b6477

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,22 @@ pod 'GMObjC','3.0.0'
1111
```bash
1212
# 检查.podspec及代码是否有错误,如果有错误不能提交
1313
pod spec lint MapManagerReportLocation.podspec --verbose
14+
```
15+
16+
Repo 添加成功后你可以在 `~/.cocoapods/repos/` 目录下找到和你建立的 `spec repo` 同名的文件夹。
1417

18+
```bash
1519
pod repo add MapManagerReportLocation https://github.com/jaywcjlove/map-manager-report-location.git
1620
```
1721

18-
Repo 添加成功后你可以在 `~/.cocoapods/repos/` 目录下找到和你建立的 `spec repo` 同名的文件夹。然后你就需要 `cd` 到你存放需要添加的 `spec` 文件的目录下将它 `push` 到远程端仓库中。
22+
然后你就需要 `cd` 到你存放需要添加的 `spec` 文件的目录下将它 `push` 到远程端仓库中。
1923

2024
```bash
2125
pod repo push MapManagerReportLocation MapManagerReportLocation.podspec
26+
```
27+
28+
发布到 [Cocoapods](https://cocoapods.org/) 官方库中
29+
30+
```bash
31+
pod trunk push MapManagerReportLocation.podspec --allow-warnings
2232
```

0 commit comments

Comments
 (0)