Skip to content

Commit

Permalink
Merge pull request #19397 from wordpress-mobile/fix/upload-and-gh-rel…
Browse files Browse the repository at this point in the history
…ease-parameters

Update additional versioning call site parameters
  • Loading branch information
oguzkocer authored Oct 16, 2023
2 parents 45e5b8d + 4b9c0a6 commit fbd7497
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_name: 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_name: 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 fbd7497

Please sign in to comment.