Update github-bot.ts

This commit is contained in:
syuilo 2018-11-16 23:10:48 +09:00
parent 713e9ad5f4
commit 8569970fbe
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -129,7 +129,7 @@ handler.on('release', event => {
const release = event.release; const release = event.release;
let text: string; let text: string;
switch (action) { switch (action) {
case 'published': text = `🎁 **NEW RELEASE**: [${release.tag_name}](${release.html_url})`; break; case 'published': text = `🎁 **NEW RELEASE**: [${release.tag_name}](${release.html_url}) is out now. Enjoy!`; break;
default: return; default: return;
} }
post(text); post(text);