Skip to content
This project is a fastlane plugin. It adds 4 actions to fastlane to work with .properties files
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci first commit Aug 12, 2019
fastlane
lib/fastlane/plugin Add java-properties as dependency Sep 11, 2019
spec Tests added. v1.0.0 released Aug 13, 2019
.gitignore first commit Aug 12, 2019
.rspec first commit Aug 12, 2019
.rubocop.yml first commit Aug 12, 2019
.travis.yml first commit Aug 12, 2019
Gemfile Fastlane updated & gems order fixed Sep 11, 2019
LICENSE first commit Aug 12, 2019
README.md Tests added. v1.0.0 released Aug 13, 2019
Rakefile first commit Aug 12, 2019
fastlane-plugin-properties.gemspec Add java-properties as dependency Sep 11, 2019

README.md

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 more actions to increase versionCode and versionName fast.

Example

lane :test do

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

  # Set VERSION_NAME value to '0.2.0' in Configs/versions.properties
  # VERSION_NAME will be added if it doesn't exist
  set_properties_value(
    path: "./Configs/versions.properties",
    name: "VERSION_NAME",
    value: "0.2.0"
  )

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

end

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.

You can’t perform that action at this time.