File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
lib/fastlane/plugin/stream_actions Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def self.run(params)
77 changes = ''
88 changelog_lines = File . readlines ( params [ :changelog_path ] )
99 changelog_lines . each do |line |
10- start_token = '# [ '
10+ start_token = '# '
1111 if reading_changelog
1212 break if line . start_with? ( start_token )
1313
Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ def self.run(params)
4141
4242 changelog =
4343 if params [ :use_changelog ]
44- other_action . read_changelog ( version : params [ :app_version ] , changelog_path : params [ :changelog_path ] )
44+ version = params [ :is_manual_upload ] ? 'Upcoming' : params [ :app_version ]
45+ other_action . read_changelog ( version : version , changelog_path : params [ :changelog_path ] )
4546 else
4647 testflight_instructions ( params )
4748 end
@@ -171,6 +172,12 @@ def self.available_options
171172 description : 'Build configuration' ,
172173 default_value : 'Release'
173174 ) ,
175+ FastlaneCore ::ConfigItem . new (
176+ key : :is_manual_upload ,
177+ description : 'Treat this as a manual upload' ,
178+ is_string : false ,
179+ default_value : false
180+ ) ,
174181 FastlaneCore ::ConfigItem . new (
175182 key : :use_changelog ,
176183 description : 'Use the changelog as a testflight instructions' ,
Original file line number Diff line number Diff line change 11module Fastlane
22 module StreamActions
3- VERSION = '0.3.80 '
3+ VERSION = '0.3.81 '
44 end
55end
You can’t perform that action at this time.
0 commit comments