Skip to content

Commit b9ea261

Browse files
authored
Merge pull request #2219 from StoDevX/pin-nightlies-to-v1
Force nightlies to always be version 1.0.0
2 parents 13501aa + d57304b commit b9ea261

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fastlane/lib/versions.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ def propagate_version(**args)
5252
unless version.include? '+'
5353
set_package_data(data: { version: "#{version}+#{build}" })
5454
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)"
5558

5659
case lane_context[:PLATFORM_NAME]
5760
when :android

0 commit comments

Comments
 (0)