In play console when you create a release it is possible to provide a release name. But when using upload_to_play_store command in fastlane i cannot see a parameter to provide a custom release name when pushing the apk, but takes the version name as the release name. How is it possible to achieve it?
lane :beta do
gradle(
task: 'assemble',
build_type: 'Release'
)
upload_to_play_store(track:'beta')
end
fastlane uses Google's AndroidPublisherService
to upload APKs. Uploads are done via its upload_apk
instance method. This method does not appear to take an argument for the release name, so fastlane does not expose one.
If you can figure out how to set the release name using AndroidPublisherService
, you can pass a parameter through to the service via fastlane here.