Skip to content

Commit

Permalink
Update call site parameters from version to version_name
Browse files Browse the repository at this point in the history
  • Loading branch information
spencertransier committed Oct 16, 2023
1 parent 70fdba4 commit 4b9c0a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fastlane/lanes/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
version_name = current_version_name
build_bundle(app: app, version: version_name, build_code: current_build_code, flavor: 'Vanilla', buildType: 'Release')

upload_build_to_play_store(app: app, version: version_name, track: 'production')
upload_build_to_play_store(app: app, version_name: version_name, track: 'production')

create_gh_release(app: app, version: version_name) if options[:create_release]
create_gh_release(app: app, version_name: version_name) if options[:create_release]
end

#####################################################################################
Expand Down Expand Up @@ -108,9 +108,9 @@
version_name = current_version_name
build_bundle(app: app, version: version_name, build_code: current_build_code, flavor: 'Vanilla', buildType: 'Release')

upload_build_to_play_store(app: app, version: version_name, track: 'beta') if options[:upload_to_play_store]
upload_build_to_play_store(app: app, version_name: version_name, track: 'beta') if options[:upload_to_play_store]

create_gh_release(app: app, version: version_name, prerelease: true) if options[:create_release]
create_gh_release(app: app, version_name: version_name, prerelease: true) if options[:create_release]
end

#####################################################################################
Expand All @@ -119,7 +119,7 @@
# This lane uploads the build to Play Store for the given version to the given track
# -----------------------------------------------------------------------------------
# Usage:
# bundle exec fastlane upload_build_to_play_store app:<wordpress|jetpack> version:<version> track:<track>
# bundle exec fastlane upload_build_to_play_store app:<wordpress|jetpack> version_name:<version_name> track:<track>
#
# Example:
# bundle exec fastlane upload_build_to_play_store app:wordpress version_name:15.0 track:production
Expand Down

0 comments on commit 4b9c0a6

Please sign in to comment.