Skip to content

Commit 2c4a4a7

Browse files
committed
force nightlies to always be version 1
1 parent f2e9acc commit 2c4a4a7

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
@@ -47,6 +47,9 @@ 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+
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? '+'

0 commit comments

Comments
 (0)