diff --git a/src/bin/build-bot.rs b/src/bin/build-bot.rs index 3d87b8b..effde57 100644 --- a/src/bin/build-bot.rs +++ b/src/bin/build-bot.rs @@ -27,8 +27,11 @@ fn main() { client.send_privmsg( "#commits", format!( - "Hello from Travis CI! {}/{} {}: {}", - repository_slug, branch, commit, commit_message + "[{}/{}] ({}) {}", + repository_slug, + branch, + &commit[..7], + commit_message ), )?; client.send_quit("QUIT")?;