Skip to content

Commit 3cca942

Browse files
committed
Set up cargo-release to automate crates.io releases
1 parent 21aa8e4 commit 3cca942

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ json = "0.12.4"
1616
anyhow = "1.0.28"
1717
thiserror = "1.0.16"
1818
cargo_metadata = "0.9.1"
19+
20+
[package.metadata.release]
21+
no-dev-version = true
22+
pre-release-replacements = [
23+
{ file="Changelog.md", search="# Unreleased", replace="# Unreleased\n\n# {{version}} – {{date}}", exactly=1 },
24+
]
25+
pre-release-commit-message = "Release version {{version}}"

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Unreleased
2+
13
# 0.8.0
24

35
- **Breaking:** Rewrite: Remove support for `bootimage {run, test}` ([#55](https://github.com/rust-osdev/bootimage/pull/55))

0 commit comments

Comments
 (0)