Skip to content

Commit d57304b

Browse files
authored
Update versions.rb
1 parent 2c4a4a7 commit d57304b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fastlane/lib/versions.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ def propagate_version(**args)
4747
UI.message "Propagating version: #{version}"
4848
UI.message 'into the Info.plist and build.gradle files'
4949

50-
version = '1.0.0' if should_nightly?
51-
UI.message "Actually using #{version} (because we're doing a nightly)"
52-
5350
# encode build number into js-land – we've already fetched it, so we'll
5451
# never set the "+" into the binaries
5552
unless version.include? '+'
5653
set_package_data(data: { version: "#{version}+#{build}" })
5754
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

0 commit comments

Comments
 (0)