forked from tuist/tuist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TapestryConfig.swift
32 lines (31 loc) · 1.04 KB
/
TapestryConfig.swift
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
30
31
32
import TapestryDescription
let config = TapestryConfig(
release: Release(
actions:
[
.pre(tool: "git", arguments: ["checkout", "main"]),
.pre(tool: "git", arguments: ["pull"]),
.pre(tool: "bundle", arguments: ["install"]),
.pre(tool: "sudo", arguments: ["xcode-select", "-s", "/Applications/Xcode_12.4.app"]),
.pre(.dependenciesCompatibility([.spm(.all)])),
.pre(tool: "swift", arguments: ["test"]),
.pre(.docsUpdate),
.post(tool: "./fourier", arguments: ["release", "tuist", "\(Argument.version)"]),
.post(
.githubRelease(
owner: "tuist",
repository: "tuist",
assetPaths: [
"build/tuist.zip",
"build/tuistenv.zip",
]
)
),
],
add: [
"CHANGELOG.md",
],
commitMessage: "Version \(Argument.version)",
push: true
)
)