https://github.com/robhogan/rn-xcode-git-version
https://github.com/robhogan/rn-xcode-git-version
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/robhogan/rn-xcode-git-version
- Owner: robhogan
- Created: 2017-08-12T19:37:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-08T11:08:57.000Z (almost 7 years ago)
- Last Synced: 2025-02-03T08:03:50.527Z (over 1 year ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Auto-version xcode projects by git tag/commit
This simply pacakges the very useful shell script by Gabriel Rinaldi, posted at http://gabrielrinaldi.me/ios-app-versioning-with-git-tag/
To use:
1. `yarn add @rh389/rn-xcode-git-version`
2. Add the script `../node_modules/@rh389/rn-xcode-git-version/version.sh` as a build phase to your xcode project
### Options
Name | Type | Description
-----|------|-------------
`-b`| number | Optional, default=0. Increase the calculated `CFBundleVersion` (based on number of commits on this tree) by the given number. Useful when continuing a build sequence from a new repository.