A gem to bump versions of cocoa pods podspec.
- bumps version major / minor / patch
- commit changes
- added tag
- push to specs repository
gem install pod-bump
pod-bump major # Bump version 0.0.0 to 1.0.0
pod-bump minor # Bump version 0.0.0 to 0.1.0
pod-bump patch # Bump version 0.0.0 to 0.0.1
pod-bump set 1.2.3 # Set version to 1.2.3
Note: Version should pass semantic validation. See https://semver.org/
pod-bump major -s https://github.com/CocoaPods/Specs
pod-bump major --specs-repository https://github.com/CocoaPods/Specs
Specs repository to push. Default is 'trunk'. See https://guides.cocoapods.org/making/private-cocoapods.html
Change commit message. Default 'Bumped Version [Vesion]'
pod-bump patch --message "Additional info"
pod-bump patch --m "Additional info"
Do not commit and push to podspec after podspec version bump.
pod-bump major --no-commit
Do not push to podspec after podspec version bump.
pod-bump major --no-push
Prints current pod-bump version
pod-bump --version