-
Notifications
You must be signed in to change notification settings - Fork 0
/
knope.toml
46 lines (36 loc) · 987 Bytes
/
knope.toml
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
35
36
37
38
39
40
41
42
43
44
45
46
[package]
changelog = "cli/CHANGELOG.md"
assets = "artifacts/*"
versioned_files = [
"cli/Cargo.toml",
{ path = "xtask/Cargo.toml", dependency = "flan-cli" },
"Cargo.lock",
]
scopes = ["cli"]
[[workflows]]
name = "prepare-release"
[[workflows.steps]]
type = "Command"
command = "git switch -c release"
[[workflows.steps]]
type = "PrepareRelease"
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: prepare release $version\""
[[workflows.steps]]
type = "Command"
command = "git push --force --set-upstream origin release"
[workflows.steps.variables]
"$version" = "Version"
[[workflows.steps]]
type = "CreatePullRequest"
base = "trunk"
[workflows.steps.title]
template = "chore: prepare release $version"
variables = { "$version" = "Version" }
[workflows.steps.body]
template = "This PR was created by Knope. Merging it will create a new release\n\n$changelog"
variables = { "$changelog" = "ChangelogEntry" }
[github]
owner = "taskylizard"
repo = "flan"