浏览代码

fix(ios,build) use epoch seconds for build number

Avoids conflicts when a build is rejected by Apple since Fastlane cannot
detect it.
master
Saúl Ibarra Corretgé 3 年前
父节点
当前提交
f04a01ee3a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      ios/fastlane/Fastfile

+ 1
- 1
ios/fastlane/Fastfile 查看文件

71
 
71
 
72
     # Inrement the build number by 1
72
     # Inrement the build number by 1
73
     increment_build_number(
73
     increment_build_number(
74
-      build_number: latest_testflight_build_number + 1,
74
+      build_number: Time.now.to_i,
75
       xcodeproj: "app/app.xcodeproj"
75
       xcodeproj: "app/app.xcodeproj"
76
     )
76
     )
77
 
77
 

正在加载...
取消
保存