This plugin reads and/or writes version/manifest files. It will set CFBundleShortVersionString (iOS) and versionName (android) to the package.json version. CFBundleVersion (iOS) and versionCode (android) will be incremented by 1.
npm install --save-dev @novemberfiveco/release-it-rn-version-bumper
"plugins": {
"@novemberfiveco/release-it-rn-version-bumper": {
"plistPath": "path-to/Info.plist",
"gradlePath": "path-to/app/build.gradle"
}
}
Required - Path to Info.plist. This will likely be "ios/{PROJECT_NAME}/Info.plist"
Required - Path to app build.gradle. This will likely be "android/app/build.gradle"