File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ def propagate_version(**args)
4646
4747 UI . message "Propagating version: #{ version } "
4848 UI . message 'into the Info.plist and build.gradle files'
49+
50+ version = "#{ version . split ( '-' ) [ 0 ] } -pre" if should_nightly?
51+ UI . message "Actually putting #{ version } into the binaries (because we're doing a nightly)"
4952
5053 # encode build number into js-land – we've already fetched it, so we'll
5154 # never set the "+" into the binaries
5255 unless version . include? '+'
5356 set_package_data ( data : { version : "#{ version } +#{ build } " } )
5457 end
55-
56- version = '1.0.0' if should_nightly?
57- UI . message "Actually putting #{ version } into the binaries (because we're doing a nightly)"
5858
5959 case lane_context [ :PLATFORM_NAME ]
6060 when :android
You can’t perform that action at this time.
0 commit comments