forked from knope-dev/knope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathknope.toml
69 lines (50 loc) · 1.47 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
67
68
69
[packages.knope]
versioned_files = ["crates/knope/Cargo.toml"]
changelog = "CHANGELOG.md"
extra_changelog_sections = [{ name = "Documentation", types = ["docs"] }]
[[packages.knope.assets]]
path = "artifacts/knope-x86_64-unknown-linux-musl.tgz"
[[packages.knope.assets]]
path = "artifacts/knope-x86_64-pc-windows-msvc.tgz"
[[packages.knope.assets]]
path = "artifacts/knope-x86_64-apple-darwin.tgz"
[[packages.knope.assets]]
path = "artifacts/knope-aarch64-apple-darwin.tgz"
[packages.versioning]
versioned_files = ["crates/knope-versioning/Cargo.toml"]
changelog = "crates/knope-versioning/CHANGELOG.md"
[[workflows]]
name = "prepare-release"
[[workflows.steps]]
type = "Command"
command = "git switch -c release"
[[workflows.steps]]
type = "PrepareRelease"
[[workflows.steps]]
type = "Command"
shell = true
command = "npx prettier CHANGELOG.md --write && git add CHANGELOG.md"
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: prepare release\""
[[workflows.steps]]
type = "Command"
command = "git push --force --set-upstream origin release"
[[workflows.steps]]
type = "CreatePullRequest"
base = "main"
[workflows.steps.title]
template = "chore: prepare releases"
[workflows.steps.body]
template = "This PR was created by Knope. Merging it will create a new release"
[[workflows]]
name = "release"
[[workflows.steps]]
type = "Release"
[[workflows]]
name = "document-change"
[[workflows.steps]]
type = "CreateChangeFile"
[github]
owner = "knope-dev"
repo = "knope"