This project is a fastlane plugin. To get started with fastlane-plugin-flutter_bump_version, add it to your project by running:
fastlane add_plugin flutter_bump_versionManages Flutter project version
Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane bump_version bump:patch push:false.
You can bump multi parts of version you want by use instead of patch (major,minor or patch) split it by (,)
Example :
old version : 1.0.0
[bundle exec] fastlane bump_version bump:major,minor,minor,patchnew version : 2.2.1
bump_build: build (version code) auto-increases based on current version code. You can disable it by passingfalseto this parameter. If you don't pass any options, the command will bump thebuildby default.push: You can automatically create a tag and push it to git remote if you pass thepush: trueparameter.version: provide a version using the SemVer format (x.x.x) to be applied to thepubspec.yamlfile. The build part is managed by thebump_buildparameter.
See available options in the source file for more on available options.
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.