Versioning manager is a CLI that simply increment the version for android and iOS in Flutter or ReactNative projects
sudo npm i -g versioning-manager
Important: The command below should be executed in the root project folder
vm increment-version
the command above will result in this:
-------------------------------------------------------
---- Successfully incremented the patch version ๐ ----
-------------------------------------------------------
Android: 1.0.1(2)
iOS: 1.0.1(2)
You must be asking yourself: What if I have multiple targets on iOS?
This is the answer: This package will handle all targets for you. It means that, the command will apply the change for all of them
param | description | type | default |
---|---|---|---|
-t | specifies the increment type | (major|minor|patch) | patch |
-p | specifies the platform | (android/ios/both) | both |