1. pod 私有庫 比如如何維護(hù)更新 TEST
- 先提交不同代碼修改 merge
- 通過后,在提交修改版本號(hào) merge
- 通過后,打 tag push tag git tag -a 0.1.1 -m "xxx"
- 驗(yàn)證
pod lint lib或者pod sepc lint 文件名.podspec或者pod sepc lint 文件名.podspec --sources='http://[privateLibName]/cocoaspecs.git,https://github.com/CocoaPods/Specs.git'
pod spec lint SGAdLibs.podspec --sources='git@git.sogou-inc.com:sogoureaderiosgroup/SogouReaderSpecs.git,https://github.com/CocoaPods/Specs.git' --allow-warnings
-
推送 push lib
pod repo push sogoureader TEST.podspec --allow-warnings要寫上倉庫名
整個(gè)過程不用換到 master 分支, 在自己的分支就好, 因?yàn)?本質(zhì)上就是把 podspec 文件推送上去就行,