Created
August 13, 2021 22:22
-
-
Save mustafayigitt/ec07e309de77742d521e0c91cbfac87e to your computer and use it in GitHub Desktop.
Increment version with gradle task using fastlane
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Increment Version | |
desc "Increment Build Version" | |
lane:increment_version do |options| | |
versionCode = options[:versionCode] | |
versionName = options[:versionName] | |
println(message:"Version name: " + versionName + " Version Code: " + versionCode) | |
gradle(task:"increment_version --versionName=#{versionName} --versionCode=#{versionCode}") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment