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
a3aae2e389
commit
13ff56021b
@ -18,22 +18,14 @@ 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
|
||||||
|
setup_ci
|
||||||
apple_intermediate_certificate_path = "/tmp/AppleWWDRCAG3.cer"
|
|
||||||
`curl https://www.apple.com/certificateauthority/AppleWWDRCAG3.cer --output #{apple_intermediate_certificate_path}`
|
|
||||||
|
|
||||||
import_certificate(
|
|
||||||
certificate_path: apple_intermediate_certificate_path,
|
|
||||||
keychain_name: "login.keychain-db",
|
|
||||||
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, keychain_name: "login.keychain-db", keychain_password: "Bark")
|
match(type: "appstore", readonly: is_ci)
|
||||||
|
|
||||||
build_app(workspace: "Bark.xcworkspace", scheme: "Bark")
|
build_app(workspace: "Bark.xcworkspace", scheme: "Bark")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user