android_version_manager plugin

fastlane Plugin Badge

Getting Started

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

fastlane add_plugin android_version_manager

About android_version_manager

Android's App Version Managment

This plugin enables you to more easily manage Android app versioning with fastlane.

Available Actions

Read each action metadata on their respective source code:

android_get_value_from_build_action

android_get_version_code_action

android_get_version_name_action

android_increment_version_code_action

android_increment_version_name_action

Version Control

This plugin does not provide any functionality related to version control. This was intentional because that can be easily implemented on the lane directly, for example, just use the following actions:

  1. ensure_git_status_clean
  2. git_tag_exists
  3. git_add
  4. git_commit
  5. add_git_tag
  6. push_to_git_remote

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.

Development

After cloning the repo, run:

bundle install --path vendor/bundle

Run tests for this plugin

To run both the tests, and code style validation, run

bundle exec rake

To automatically fix many of the styling issues, use

bundle exec rubocop -a

Releasing

  1. increment version at ./lib/fastlane/plugin/android_version_manager/version.rb.
  2. commit changes
  3. run: bash bundle exec rake release