6.5.0 • Published 5 years ago
@intuit-auto/twitter v6.5.0
Twitter Plugin
Post tweets after a release is made.
Installation
This plugin is not included with the auto
CLI. To install:
npm i --save-dev @intuit-auto/twitter
# or
yarn add -D @intuit-auto/twitter
Usage
Simply supply the names of the account to filter
{
"plugins": [
[
"twitter",
{
/* options */
}
]
]
}
Options
Message
You can configure the message posted to twitter. The message
option should use the following special tokens to create a tweet.
%release
- The version bump (major, minor, patch)%package
- The name of the package%notes
- Your release notes truncated to fit in the tweet%link
- A link to your the release on GitHub%version
- The latest version number
Default:
A new %release version of %package was released!
%notes
%link
{
"plugins": [
["twitter", { "message": "v%version of %package was released!\n\n%link" }]
]
}
Threshold
By default the twitter
plugin will only tweet if the version difference between the latest and the last release is greater than a minor
.
{
"plugins": [["twitter", { "threshold": "major" }]]
}
6.6.0-canary.406.5616.14
5 years ago
6.6.0-canary.427.5596.15
5 years ago
6.6.0-canary.427.5589.15
5 years ago
6.6.0-canary.427.5583.15
5 years ago
7.0.0-canary.406.5575.13
5 years ago
7.0.0-canary.424.5553.14
5 years ago
7.0.0-canary.424.5547.14
5 years ago
6.6.0-canary.406.5536.12
5 years ago
6.6.0-canary.422.5524.15
5 years ago
6.5.0
5 years ago