Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 657 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 657 Bytes

react-native-version-increment

Usage

  npx react-native-version-increment --bundle=[bundle-name] --patch

Will result in the increment of the patch number of the version 0.0.1 -> 0.0.2

Arguments

  • --bundle (flag) - Represent the project name (Required for IOS).
  • --patch (flag) - Increment patch.
  • --minor (flag) - Increment minor and reset patch.
  • --major (flag) - Increment major and reset minor and patch.
  • --version (String) - Specify a version and ignore flags.
  • --help (flag) - Shows the help.

IMPORTANT

This script will not work if your project doesn't have at least 1 tag