Skip to content

Commit f90506b

Browse files
committed
chore: Add prettier to release process, use conventional commit for version bump message
1 parent f67b750 commit f90506b

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

CHANGELOG.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
### Features
1010

11-
* Specify a path to a changelog file in UpdateProjectFromCommits (closes #27) (#71)
12-
* Use special version bumping rules for versions that start with 0.x (closes #37) (#65)
11+
- Specify a path to a changelog file in UpdateProjectFromCommits (closes #27) (#71)
12+
- Use special version bumping rules for versions that start with 0.x (closes #37) (#65)
1313

1414
## 0.1.0 - 2021-01-29
1515

16-
* Initial release
16+
- Initial release

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
dev-book:
2-
mdbook watch docs --open
2+
mdbook watch docs --open
3+
4+
prettier:
5+
prettier **/*.md --write

dobby.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ name = "Release"
2828
type = "Command"
2929
command = "cargo check"
3030

31+
[[workflows.steps]]
32+
type = "Command"
33+
command = "make prettier"
34+
3135
[[workflows.steps]]
3236
type = "Command"
3337
command = "git add Cargo.toml Cargo.lock CHANGELOG.md"
3438

3539
[[workflows.steps]]
3640
type = "Command"
37-
command = "git commit -m \"bump to version\""
41+
command = "git commit -m \"chore: Bump to version\""
3842
variables = {"version" = "Version"}
3943

4044
[[workflows.steps]]

0 commit comments

Comments
 (0)