lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

commit 7fce361ada245d0846c5b7633166573905d90e2c
parent badf54e4a35246ecacdef54c2bacc15f463f3c08
Author: triesap <tyson@radroots.org>
Date:   Wed, 29 Jul 2026 10:38:16 +0000

release: require crate surface readmes

Diffstat:
Mtools/xtask/src/contract/release_package.rs | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/xtask/src/contract/release_package.rs b/tools/xtask/src/contract/release_package.rs @@ -602,7 +602,7 @@ fn extract_and_validate_archive( extra.join(", ") )); } - for required in ["Cargo.toml", "Cargo.toml.orig", "README"] { + for required in ["Cargo.toml", "Cargo.toml.orig", "README.md"] { if !archived_files.contains(required) { return Err(format!( "package archive for {package} is missing {required}" @@ -1228,7 +1228,7 @@ version = "=1.0.0-alpha.1" .expect("write Cargo manifest"); fs::write(package_root.join("Cargo.toml.orig"), "original") .expect("write original manifest"); - fs::write(package_root.join("README"), "readme").expect("write README"); + fs::write(package_root.join("README.md"), "readme").expect("write README"); fs::write(package_root.join("src/lib.rs"), "pub fn fixture() {}").expect("write source"); let archive_path = root.path().join("radroots_fixture-1.0.0.crate"); let status = Command::new("tar") @@ -1244,7 +1244,7 @@ version = "=1.0.0-alpha.1" let expected = BTreeSet::from([ "Cargo.toml".to_owned(), "Cargo.toml.orig".to_owned(), - "README".to_owned(), + "README.md".to_owned(), "src/lib.rs".to_owned(), ]); let destination = root.path().join("extracted"); @@ -1257,7 +1257,7 @@ version = "=1.0.0-alpha.1" ) .expect("extract exact archive"); let contents = - fs::read_to_string(destination.join("README")).expect("read extracted README"); + fs::read_to_string(destination.join("README.md")).expect("read extracted README"); assert_eq!(contents, "readme"); }