-
Notifications
You must be signed in to change notification settings - Fork 13
/
knope.toml
56 lines (43 loc) · 1.2 KB
/
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
47
48
49
50
51
52
53
54
55
56
[package]
changelog = "CHANGELOG.md"
versioned_files = ["go.mod"]
ignore_go_major_versioning = true
[[workflows]]
name = "document-change"
[[workflows.steps]]
type = "CreateChangeFile"
[[workflows]]
name = "prepare-release"
[[workflows.steps]]
type = "Command"
command = "git switch -c release"
[[workflows.steps]]
type = "PrepareRelease"
ignore_conventional_commits = true
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: prepare release $version\""
variables = { "$version" = "Version" }
[[workflows.steps]]
type = "Command"
command = "git push --force --set-upstream origin release"
[workflows.steps.variables]
"$version" = "Version"
[[workflows.steps]]
type = "CreatePullRequest"
base = "master"
[workflows.steps.title]
template = "chore: prepare release $version"
variables = { "$version" = "Version" }
[workflows.steps.body]
template = "This PR was created automatically. Merging it will finalize the changelog for $version\n\n$changelog"
variables = { "$changelog" = "ChangelogEntry", "$version" = "Version" }
# Do not enable releases, just changelogs for now.
# [[workflows]]
# name = "release"
#
# [[workflows.steps]]
# type = "Release"
[github]
owner = "SiaFoundation"
repo = "hostd"