aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-02 13:54:55 +0000
committerAleksey Kladov <[email protected]>2020-03-02 13:54:55 +0000
commit4eea4e1993e1f567a51c7c0f40e6f1d720566216 (patch)
treead9f44a9a399bbed2841dbdbeaf9e0c4dc53fb95 /xtask/src
parentdbd1698e02da46af308740aba193872e1f760490 (diff)
Print log on release
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/lib.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs
index e5da726ac..55cdee491 100644
--- a/xtask/src/lib.rs
+++ b/xtask/src/lib.rs
@@ -192,5 +192,14 @@ Release: release:{}[]
192 192
193 fs2::copy(project_root().join("./docs/user/readme.adoc"), website_root.join("manual.adoc"))?; 193 fs2::copy(project_root().join("./docs/user/readme.adoc"), website_root.join("manual.adoc"))?;
194 194
195 let tags = run!("git tag --list"; echo = false)?;
196 let prev_tag = tags.lines().filter(|line| is_release_tag(line)).last().unwrap();
197
198 println!("\n git log {}..HEAD --merges --reverse", prev_tag);
199
195 Ok(()) 200 Ok(())
196} 201}
202
203fn is_release_tag(tag: &str) -> bool {
204 tag.len() == "2020-02-24".len() && tag.starts_with(|c: char| c.is_ascii_digit())
205}