create_archive.rb 414 Bytes
Newer Older
Davide De Rosa's avatar
Davide De Rosa committed
1
2
3
4
desc "Archive a new build"
lane :create_archive do
    #ensure_git_status_clean
    sh "cd .. && rm -rf Pods/SideMenu"
5
    cocoapods(try_repo_update_on_error: true)
Davide De Rosa's avatar
Davide De Rosa committed
6
7
8
9
10
11
12
13
    sh "cd .. && git apply ci/0001-Close-menu-on-rotation.patch"

    get_build_number
    increment_build_number(
        build_number: deterministic_build_number
    )
    match
    gym
14
15
16
    print_ipa_metadata(
        prefix: "Archived"
    )
Davide De Rosa's avatar
Davide De Rosa committed
17
end