Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

properties plugin

fastlane Plugin Badge

Getting Started

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

fastlane add_plugin properties

About properties

Adds 2 actions to fastlane to read and update properties files. Adds 2 actions to read/write the whole properties file. Adds 2 more actions to increase versionCode and versionName fast.

Your file does not require to be .properties. This plugin can work with any file which content is in the KEY=VALUE format, ie .env files or etc.


lane :test do

  # Read VERSION_NAME value from Configs/
  version_name = get_properties_value(
    key: "VERSION_NAME",
    path: "./Configs/"

  # Set VERSION_NAME value to '0.2.0' in Configs/
  # VERSION_NAME will be added if it doesn't exist
    path: "./Configs/",
    key: "VERSION_NAME",
    value: "0.2.0"

  # Increase VERSION_CODE value in Configs/ by 1
    key: "VERSION_CODE",
    path: "./Configs/"
  # Increase VERSION_NAME's minor value in Configs/ by 1
  # update_type can be one of ['major', 'minor', 'patch']. Default to 'minor'
    key: "VERSION_NAME",
    path: "./Configs/",
    update_type: "minor"

  # Read the file and sttore it as a hash-map in the content variable
  content = parse_properties_file(
    path: "./Configs/"

  # Rewrites your with new data, generated from some_hash
    path: "./Configs/",
    hash: some_hash


Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.


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