forked from tuist/tuist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TapestryConfig.swift
34 lines (33 loc) · 1.2 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
33
34
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(.dependenciesCompatibility([.spm(.all)])),
.pre(tool: "swift", arguments: ["test"]),
// .pre(tool: "bundle", arguments: ["exec", "rake", "features"]),
.pre(.docsUpdate),
.pre(tool: "sudo", arguments: ["xcode-select", "-s", "/Applications/Xcode_11.5.app"]),
.post(tool: "bundle", arguments: ["exec", "rake", "release[\(Argument.version)]"]),
.post(tool: "bundle", arguments: ["exec", "rake", "release_scripts"]),
.post(
.githubRelease(
owner: "tuist",
repository: "tuist",
assetPaths: [
"build/tuist.zip",
"build/tuistenv.zip",
]
)
),
],
add: [
"CHANGELOG.md",
],
commitMessage: "Version \(Argument.version)",
push: true
)
)