Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Fastlane action to retrieve version_code to use as build number for your app 🔢

License

Notifications You must be signed in to change notification settings

CoorpAcademy/fastlane-plugin-fetch_version_code

Repository files navigation

fetch_version_code Fastlane plugin

Gem fastlane Plugin Badge Build Status License: MIT

Fastlane plugin to help you fetch version number/code from some API/HTTP Endpoint

Getting Started

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

fastlane add_plugin fetch_version_code

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.

Here is how you could use the plugin to fetch version number from some API endpoint.

version_code = fetch_version_code(
    endpoint: "api.whatever.org/api/build/next-build-number",
    method: :post,
    secret_header: 'Api-Secret',
    secret_value: ENV['VERSION_API_SECRET']
)

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.

About

Fastlane action to retrieve version_code to use as build number for your app 🔢

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages