forked from knope-dev/knope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdobby.toml
63 lines (47 loc) · 1.3 KB
/
dobby.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
[[workflows]]
name = "Start New Task"
[[workflows.steps]]
type = "SelectGitHubIssue"
[[workflows.steps]]
type = "SwitchBranches"
[[workflows]]
name = "Finish Development"
[[workflows.steps]]
type = "Command"
command = "gh pr create --web -p WIP"
[[workflows]]
name = "Prep Release"
[[workflows.steps]]
type = "Command"
command = "git checkout main && git pull"
[[workflows.steps]]
type = "UpdateProjectFromCommits"
[[workflow.steps]]
type = "Command"
command = "cargo update -w"
[[workflows.steps]]
type = "Command"
command = "make prettier"
[[workflows.steps]]
type = "Command"
command = "git add Cargo.toml Cargo.lock CHANGELOG.md"
[[workflows]]
name = "Finish Release"
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: Bump to version\""
variables = {"version" = "Version"}
[[workflows.steps]]
type = "Command"
command = "git push"
[[workflows.steps]]
type = "Command"
command = "gh release create v.version --title version --draft -F CHANGELOG.md"
variables = {"version" = "Version"}
[[workflows.steps]]
type = "Command"
command = "gh release view --web v.version"
variables = {"version" = "Version"}
[github]
owner = "triaxtec"
repo = "dobby"