3401: Print log on release r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-03-02 13:55:23 +00:00 committed by GitHub
commit 96eca8a1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,5 +192,14 @@ Release: release:{}[]
fs2::copy(project_root().join("./docs/user/readme.adoc"), website_root.join("manual.adoc"))?;
let tags = run!("git tag --list"; echo = false)?;
let prev_tag = tags.lines().filter(|line| is_release_tag(line)).last().unwrap();
println!("\n git log {}..HEAD --merges --reverse", prev_tag);
Ok(())
}
fn is_release_tag(tag: &str) -> bool {
tag.len() == "2020-02-24".len() && tag.starts_with(|c: char| c.is_ascii_digit())
}