Update github-bot.ts
This commit is contained in:
parent
713e9ad5f4
commit
8569970fbe
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue