git pull origin master
s.version
MyRepo.podspec
pod lib lint MyRepo.podspec
git add .
git commit -m "Update pods version"
git push origin master
pod trunk push MyRepo.podspec
Source