-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathknope.toml
66 lines (48 loc) · 1.25 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
57
58
59
60
61
62
63
64
65
66
[package]
versioned_files = ["package.json"]
changelog = "CHANGELOG.md"
[[workflows]]
name = "prepare-release"
[[package.assets]]
path = "qc.tar.gz"
[[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.variables]
"$version" = "Version"
[[workflows.steps]]
type = "Command"
command = "git push --force --set-upstream origin release"
[[workflows.steps]]
type = "CreatePullRequest"
base = "main"
[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" }
[[workflows]]
name = "release"
[[workflows.steps]]
type = "Release"
[[workflows]]
name = "document-change"
[[workflows.steps]]
type = "CreateChangeFile"
[[workflows]]
name = "get-version"
help_text = "Get the current version of the project"
[[workflows.steps]]
type = "Command"
command = 'echo "$version"'
[workflows.steps.variables]
"$version" = "Version"
[github]
owner = "AbundantSalmon"
repo = "QuickCapacities"