diff --git a/fastlane/Fastfile b/fastlane/Fastfile index b9a445b..8068d53 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -28,6 +28,10 @@ desc "Build the apk" lane :build do gradle(task: "clean assemble") + end + + desc "Tag as a new version" + lane :tag do increment_version_code( #code_num: 9, var_name: "versionCode|versionBuild", @@ -35,6 +39,9 @@ #file: "app/version.properties", verbose: true, ) + commit_android_version_bump( + message: "Increment version for new tag" + ) end desc "Build and deploy the apk for Alpha testing in Google Play store" diff --git a/fastlane/README.md b/fastlane/README.md index 4384f70..3e2e3cb 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -1,9 +1,32 @@ fastlane documentation ================ # Installation + +Make sure you have the latest version of the Xcode command line tools installed: + ``` -sudo gem install fastlane +xcode-select --install ``` + +## Choose your installation method: + +
| Homebrew + | Installer Script + | Rubygems + |
|---|---|---|
| macOS | +macOS | +macOS or Linux with Ruby 2.0.0 or above | +
brew cask install fastlane |
+Download the zip file. Then double click on the install script (or run it in a terminal window). |
+sudo gem install fastlane -NV |
+