-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathknope.toml
More file actions
69 lines (53 loc) · 1.44 KB
/
knope.toml
File metadata and controls
69 lines (53 loc) · 1.44 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
versioned_files = ["package.json"]
changelog = "CHANGELOG.md"
extra_changelog_sections = [
{ name = "Documentation", types = ["docs"] },
{ name = "Notes", types = ["note"] },
]
# assets = "marker" // TODO: add this later once we have assets
[changes]
ignore_conventional_commits = true
[[workflows]]
name = "prepare-release"
help_text = "Prepare a release PR"
[[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]]
type = "CreatePullRequest"
base = "dev"
[workflows.steps.title]
template = "chore: prepare release $version"
[workflows.steps.body]
template = """
> [!IMPORTANT]
> Merging this PR will create a new release.
$changelog"""
[[workflows]]
name = "release"
help_text = "Create a GitHub release"
[[workflows.steps]]
type = "Release"
[[workflows]]
name = "document-change"
help_text = "Create a new change file to be included in the next release"
[[workflows.steps]]
type = "CreateChangeFile"
[github]
owner = "SableClient"
repo = "Sable"
[release_notes]
# The <!-- commit:$commit_hash --> marker is used by prepare-release.yml
change_templates = [
"### $summary <!-- commit:$commit_hash -->\n\n$details",
"* $summary <!-- commit:$commit_hash -->",
]