From a85bc12c5df8c08d7a689b32ec14f3bc11ed42ff Mon Sep 17 00:00:00 2001 From: Victor Nordam Suadicani Date: Wed, 12 Jun 2024 11:00:37 +0200 Subject: [PATCH] Newline in schema version file. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 42516da27..7f34e32ff 100644 --- a/build.rs +++ b/build.rs @@ -15,7 +15,7 @@ fn main() -> Result<(), Box> { let spec = repo.revparse_single("HEAD")?.id(); std::fs::write( "./src/v2/proto_schema_version.rs", - format!("pub const PROTO_SCHEMA_VERSION: &str = \"{}\";", spec), + format!("pub const PROTO_SCHEMA_VERSION: &str = \"{}\";\n", spec), )?; } Ok(())