-
Notifications
You must be signed in to change notification settings - Fork 9
/
knope.toml
60 lines (44 loc) · 1.27 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
[github]
owner = 'LottieFiles'
repo = 'dotlottie-rs'
[package]
versioned_files = ["dotlottie-ffi/Cargo.toml"]
changelog = "CHANGELOG.md"
[[package.assets]]
path = "release/dotlottie-player.darwin.tar.gz"
name = "dotlottie-player.darwin.tar.gz"
[[package.assets]]
path = "release/dotlottie-player.android.tar.gz"
name = "dotlottie-player.android.tar.gz"
[[package.assets]]
path = "release/dotlottie-player.wasm.tar.gz"
name = "dotlottie-player.wasm.tar.gz"
[[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: Release $version\" && git push --force --set-upstream origin release"
[workflows.steps.variables]
"$version" = "Version"
[[workflows.steps]]
type = "CreatePullRequest"
base = "main"
[workflows.steps.title]
template = "chore: 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"