1.0.17 • Published 3 years ago

react-native-version-handler v1.0.17

Weekly downloads
22
License
ISC
Repository
github
Last release
3 years ago

react-native-version-handler

Bump, commit, push and create tags for your react-native (android/ios) project.

setup

Create a file ".projects.config.json" in your home. Configure the projects that you want to use with this script.

Example:

{
  "squadra-app":  {
    "project_path": "/Users/joaoschaab/Sthima/squadra-app",
    "xcodeproj": "SquadraApp.xcodeproj",
    "target": "SquadraApp"
  }
}

Installing fastlane

This project uses fastlane to increment build version, so you will have to install it in your project.

Install the latest Xcode command line tools:

xcode-select --install

Install fastlane using RubyGems

sudo gem install fastlane -NV

Alternatively using Homebrew

brew install fastlane

setup fastlane ios

cd your_project/ios && fastlane init

setup fastlane android

cd your_project/android && fastlane init

#After that, add the following plugins:
fastlane add_plugin fastlane-plugin-increment_version_code
fastlane add_plugin fastlane-plugin-get_version_code
fastlane add_plugin fastlane-plugin-get_version_name
fastlane add_plugin fastlane-plugin-commit_android_version_bump
fastlane add_plugin fastlane-plugin-versioning_android

install

npm install -g react-native-version-handler

running

usage: release [platform] [environment] [app_name] <bump_type=minor|patch>

Example

release ios stage squadra-app minor
1.0.17

3 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago