Skip to content

Commit 067f630

Browse files
committed
Fix crash with create_gh_release
Leftover from the removal of Alpha builds
1 parent 4d7c874 commit 067f630

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

fastlane/lanes/build.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
#
9898
# Example:
9999
# bundle exec fastlane upload_build_to_play_store app:wordpress version:15.0 track:production
100-
# bundle exec fastlane upload_build_to_play_store app:wordpress version:alpha-228 track:alpha
101100
# bundle exec fastlane upload_build_to_play_store app:jetpack version:15.0-rc-1 track:beta
102101
#####################################################################################
103102
desc 'Upload Build to Play Store'

fastlane/lanes/release.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,14 +246,14 @@
246246
# bundle exec fastlane create_gh_release [app:<wordpress|jetpack>] [version:<Hash{name,code}>] [prerelease:<true|false>]
247247
#
248248
# Examples:
249-
# bundle exec fastlane create_gh_release # Guesses prerelease status based on version name. Includes existing assets for WPAlpha+WPBeta+JPBeta
250-
# bundle exec fastlane create_gh_release app:wordpress prerelease:true # Includes existing assets for WPAlpha+WPBeta
249+
# bundle exec fastlane create_gh_release # Guesses prerelease status based on version name. Includes existing assets for WPBeta+JPBeta
250+
# bundle exec fastlane create_gh_release app:wordpress prerelease:true # Includes existing assets for WPBeta
251251
# bundle exec fastlane create_gh_release version:{name:12.3-rc-4} prerelease:true # Includes existing assets for WPBeta+JPBeta 12.3-rc-4
252252
# bundle exec fastlane create_gh_release app:jetpack version:{name:12.3-rc-4} prerelease:true # Includes only existing asset for JPBeta 12.3-rc-4
253253
#####################################################################################
254254
lane :create_gh_release do |options|
255255
apps = options[:app].nil? ? ['wordpress', 'jetpack'] : [get_app_name_option!(options)]
256-
versions = options[:version].nil? ? [android_get_alpha_version(), android_get_release_version()] : [options[:version]]
256+
versions = options[:version].nil? ? [android_get_release_version()] : [options[:version]]
257257

258258
release_assets = apps.flat_map do |app|
259259
versions.flat_map { |vers| bundle_file_path(app, vers) }

0 commit comments

Comments
 (0)