File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,20 @@ package.json: 1.10.6 -> 1.10.7
2828The plugin updates and write the output listed files, and it's up to you to
2929commit them.
3030
31+
32+ Tip: I usually create a script entry for the command, since it tends to be long:
33+
34+ ``` json
35+ {
36+ "scripts" : {
37+ "bump" : " npx react-native bump-version --skip-semver-for android"
38+ }
39+ }
40+ ```
41+
42+ That way you can invoke it like: ` yarn bump --type patch `
43+
44+
3145## Flags
3246
3347Just ask for help:
@@ -77,7 +91,7 @@ will break.
7791
7892# ### Use MARKETING_VERSION in `Info.plist`
7993
80- I' ve choose to remove the `Info.plist` manipulation as it was not needed
94+ I' ve choosen to remove the `Info.plist` manipulation as it was not needed
8195if it uses the `MARKETING_VERSION` env var, so be sure that your project/xcode is updated and that
8296the `Info.plist` file has `MARKETING_VERSION` instead of SemVer string:
8397
@@ -90,6 +104,6 @@ the `Info.plist` file has `MARKETING_VERSION` instead of SemVer string:
90104
91105I tried to find a tool that did this before starting it:
92106
93- * [rnbv](https://github.com/llotheo/react-native-cli- bump-version) inspired my initial sources
107+ * [rnbv](https://github.com/llotheo/react-native-bump-version) inspired my initial sources
94108 * [react-native-version](https://github.com/stovmascript/react-native-version) actually does what I was
95109 looking for, but I already had written the tool, so I just published it anyway.
You can’t perform that action at this time.
0 commit comments