No release in over 3 years
Low commit activity in last 3 years
Manages app versioning of Flutter project
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

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:

  • yml - Path to version.yml file
  • pubspec - Path to pubspec.yaml file
  • git_repo - Path to git repository (optional)
  • arguments - Additional arguments as stated below (optional)
-h: Access this menu
-version: Reads current version name
-code: Reads current version code
-major: Bumps major version
-minor: Bumps minor version
-patch: Bumps patch version
-apply: Applies version specified from version.yml to pubspec

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.