934 B
934 B
Snippets
Cocoapods
Bump version in podspecs
- Install nmp:
brew install node - Install podspec-bump:
npm install -g podspec-bump - Run command in project folder:
find . -name '*.podspec' \
-not -path "./Carthage/*" \
-not -path "./*/Carthage/*" \
-not -path "./Pods/*" \
-not -path "./*/Pods/*" \
| xargs -I% npx podspec-bump -i "Version - x.y.z" -w -p %
Push changes to podspecs repo
- Add repo:
pod repo add touchinstinct git@github.com:TouchInstinct/Podspecs - Run command in project folder:
find . -name '*.podspec' \
-not -path "./Carthage/*" \
-not -path "./*/Carthage/*" \
-not -path "./Pods/*" \
-not -path "./*/Pods/*" \
| xargs -I% pod repo push git@github.com:TouchInstinct/Podspecs % --allow-warnings