Skip to content

Commit

Permalink
change fastlane android versioning plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed Aug 23, 2021
1 parent b659b04 commit beb95d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ platform :android do
lane :release do
# Gather data
package_name = CredentialsManager::AppfileConfig.try_fetch_value(:package_name)
android_get_version_code()
version_code = lane_context[SharedValues::ANDROID_VERSION_CODE]
android_get_version_name()
version_name = lane_context[SharedValues::ANDROID_VERSION_NAME]
version_name = get_version_name(app_project_dir: '**/app')
UI.message("version_name: " + version_name)
version_code = get_version_code(app_project_dir: '**/app')
UI.message("version_code: " + version_code)

# Get changelog
changelog = File.read("metadata/android/en-US/changelogs/#{version_code}.txt")
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
# Ensure this file is checked in to source control!

gem 'fastlane-plugin-versioning_android'
gem 'fastlane-plugin-android_versioning'

0 comments on commit beb95d4

Please sign in to comment.