@rh389/rn-xcode-git-version
v0.4.0
Published
Sets version in Info.plist based on git tag
Downloads
3
Maintainers
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:
yarn add @rh389/rn-xcode-git-version
- 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.