forked from daltoniam/Starscream
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFastfile
More file actions
29 lines (24 loc) · 702 Bytes
/
Fastfile
File metadata and controls
29 lines (24 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
default_platform(:ios)
update_fastlane
desc "Run tests"
lane :test do
run_tests(
devices: ["iPhone 14 Pro", "iPad Pro (11-inch) (4th generation)"],
)
end
platform :ios do
desc "Deploy new version"
lane :release do
version = version_bump_podspec(path: "Starscream.podspec", version_number: ENV["TAG"])
changelog = changelog_from_git_commits(merge_commit_filtering: "exclude_merges")
github_release = set_github_release(
repository_name: "daltoniam/starscream",
api_token: ENV["GITHUB_TOKEN"],
name: version,
tag_name: version,
description: changelog,
commitish: "master"
)
pod_push(allow_warnings: false, verbose: true)
end
end