This commit adds the ability to send notifications to Mastodon, Discord, and Slack. There is also a partial implementation of posting to Twitter but this is known not to work, since there has been a change to the Twitter API. In order for notifications to be sent, the necessary environment variables need to be set. By default, an attempt will be made to send a notification to all configured destinations, when running --target=send-notifications, but this can be overridden either through setting the "should" parameter in the recipe.cake file, or by passing the "should" command line option to false.
Motivation and Context
We need to be more consistent about how/when notifications are made, and what information is sent out.
Testing
The changes in this PR have been tested throughout the last few releases of Chocolatey products, and everything has worked as expected.
Operating Systems Testing
Windows 10
Change Types Made
[ ] Bug fix (non-breaking change).
[x] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
Description Of Changes
This commit adds the ability to send notifications to Mastodon, Discord, and Slack. There is also a partial implementation of posting to Twitter but this is known not to work, since there has been a change to the Twitter API. In order for notifications to be sent, the necessary environment variables need to be set. By default, an attempt will be made to send a notification to all configured destinations, when running --target=send-notifications, but this can be overridden either through setting the "should" parameter in the recipe.cake file, or by passing the "should" command line option to false.
Motivation and Context
We need to be more consistent about how/when notifications are made, and what information is sent out.
Testing
The changes in this PR have been tested throughout the last few releases of Chocolatey products, and everything has worked as expected.
Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
Fixes #107