Update github-bot.ts
This commit is contained in:
		
							parent
							
								
									713e9ad5f4
								
							
						
					
					
						commit
						8569970fbe
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue