rubiconba / fastlane-plugin-flutter-version-manager

Fastlane plugin that is used to manage app versioning of Flutter project
MIT License
35 stars 11 forks source link

flutter_version_manager plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-flutter_version_manager, add it to your project by running:

fastlane add_plugin flutter_version_manager

Inside project root, create new version.yml file and add the following:

---
major: 0
minor: 0
patch: 1

This plugin heavily resides on having a git repository. You need to configure ruby-git. Add gem 'git' to fastlane/Pluginfile or follow the instructions from their repository.

About flutter_version_manager

Manages app versioning of a Flutter project. This plugin heavily resides on having a git repository and at least one commit as version code is applied through timestamp of HEAD commit. As for app version, version.yml should be used as a single source of truth. In order to apply changes to pubspec, use -apply as an argument of a plugin.

This plugin accepts 4 arguments:

Example

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 test.

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.