๐Ÿ“ฆ robhogan / rn-xcode-git-version

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/robhogan/rn-xcode-git-version.git
HTTPS git clone https://github.com/robhogan/rn-xcode-git-version.git
SSH git clone git@github.com:robhogan/rn-xcode-git-version.git
CLI gh repo clone robhogan/rn-xcode-git-version
Rob Hogan Rob Hogan Bump to 0.4.0 0cd6c23 6 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ version.sh
๐Ÿ“„ README.md

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.