https://github.com/lwhiteley/podspec-version
automatically bump podspec version, create tag and push tag
https://github.com/lwhiteley/podspec-version
podspec
Last synced: 5 months ago
JSON representation
automatically bump podspec version, create tag and push tag
- Host: GitHub
- URL: https://github.com/lwhiteley/podspec-version
- Owner: lwhiteley
- License: mit
- Created: 2017-04-13T22:58:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-19T01:35:48.000Z (over 8 years ago)
- Last Synced: 2025-07-10T09:00:48.231Z (6 months ago)
- Topics: podspec
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/podspec-version
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# podspec-version
automatically bump podspec version, create tag and push tag
### Install
`npm i -g podspec-version`
### How to use
> Note: Only run the command within the root of the iOS project
`podspec-version -h`
```
Usage: podspec-version [options]
-h, --help displays help
-i, --increment String Incrementing "major", "minor", or "patch" version; or specify version [default: "patch"]
-w, --write dry run is done by default, add --write to commit changes [default: false]
-y, --yes answer yes to any possible questions [default: false]
-a, --add add untracked files before committing [default: false]
```
### Do a dry run to see what would happen
`podspec-version ` or `podspec-version patch`
### Commit changes
when you are comfortable just add `-w` to commit changes, tag release and push changes
For eg: We start with version `0.0.1`
Patch Release: `podspec-version -w` => `0.0.2`
Minor Release: `podspec-version -w minor` => `0.1.0`
Major Release: `podspec-version -w major` => `1.0.0`