Skip to content

Commit a4f2227

Browse files
committed
Use cargo-release to automate publishing of new versions
1 parent f02a565 commit a4f2227

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,11 @@ target = "x86_64-bootloader.json"
5151
[package.metadata.docs.rs]
5252
features = [ "recursive_page_table", "map_physical_memory" ]
5353
default-target = "x86_64-unknown-linux-gnu"
54+
55+
[package.metadata.release]
56+
no-dev-version = true
57+
pre-release-replacements = [
58+
{ file="Changelog.md", search="# Unreleased", replace="# Unreleased\n\n# {{version}} – {{date}}", exactly=1 },
59+
]
60+
pre-release-commit-message = "Release version {{version}}"
61+
disable-publish = true

Changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Unreleased
2+
13
# 0.9.5
24

35
- Fix warning by renaming `_improper_ctypes_check` functions ([#122](https://github.com/rust-osdev/bootloader/pull/122))

0 commit comments

Comments
 (0)