mobile_common plugin
Getting Started
This project is a fastlane plugin. To get started with fastlane-plugin-mobile_common, add it to your project by running:
fastlane add_plugin mobile_common
About mobile_common
Collection of common CI actions for Android, iOS and MacOSX projects - like unit tests, app publishing, version increment, screenshots, etc.
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
Actions
- update_changelog - gets contents of CHANGELOG_CURRENT.md and appends them to CHANGELOG.md, adding app version and current date
- commit_changelog - commits and pushes to repo changes, made by
update_changelogaction - ios_publish_beta - publishes already built iOS binary to itunes connect, bumps version, performs much of other automation, see description
- prepare_git_repository - pulls all changes from given branch and sets up local branch to track remote one. Useful for jenkins
- push_version_changes - commits target version changes to repository and pushes created commit
- prepare_snapfiles - creates individual Snapfile for each given device/locale combination, to let run snapshot on each of them individually, and have individual report
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.
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.