Skip to content

beplus/fastlane-plugin-versioning_ios

Repository files navigation

versioning_ios plugin

Build Status fastlane Plugin Badge

Getting Started

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

fastlane add_plugin versioning_ios

About versioning_ios

iOS Versioning Plugin for Fastlane - easily Get / Set Build Number and Version on your iOS project.

Note: If you need to work with versionCode and versionName on Android, see versioning_android.

Available actions

  • ios_get_build_number to get the Build Number
  • ios_get_version to get the Version
  • ios_set_build_number to set the new Build Number
  • ios_set_version to set the new Version

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.

Example project

@todo You can find a fully functional setup of this plugin in the UdemyFastlane repo, where you can also find more info about versioning of iOS apps.

Run tests for this plugin

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

rake

To automatically fix many of the styling issues, use

rubocop -a

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.