mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
update Fastfile
This commit is contained in:
parent
4daff06b6e
commit
5bf950298f
@ -18,12 +18,22 @@ default_platform(:ios)
|
|||||||
platform :ios do
|
platform :ios do
|
||||||
desc "Push a new beta build to TestFlight"
|
desc "Push a new beta build to TestFlight"
|
||||||
lane :beta do
|
lane :beta do
|
||||||
|
|
||||||
|
apple_intermediate_certificate_path = "/tmp/AppleWWDRCAG3.cer"
|
||||||
|
`curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output #{apple_intermediate_certificate_path}`
|
||||||
|
|
||||||
|
other_action.import_certificate(
|
||||||
|
certificate_path: apple_intermediate_certificate_path,
|
||||||
|
keychain_name: "login.keychain",
|
||||||
|
keychain_password: "bark"
|
||||||
|
)
|
||||||
|
|
||||||
build = ENV["BUILD_NUMBER"]
|
build = ENV["BUILD_NUMBER"]
|
||||||
if !build.nil? && !build.empty?
|
if !build.nil? && !build.empty?
|
||||||
increment_build_number(build_number: build.to_i)
|
increment_build_number(build_number: build.to_i)
|
||||||
end
|
end
|
||||||
|
|
||||||
match(type: "appstore", readonly: is_ci)
|
match(type: "appstore", readonly: is_ci, keychain_name: "login.keychain", keychain_password: "bark")
|
||||||
|
|
||||||
build_app(workspace: "Bark.xcworkspace", scheme: "Bark")
|
build_app(workspace: "Bark.xcworkspace", scheme: "Bark")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user