6.5.0 • Published 6 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/twitterUsage
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
6 years ago
6.6.0-canary.427.5596.15
6 years ago
6.6.0-canary.427.5589.15
6 years ago
6.6.0-canary.427.5583.15
6 years ago
7.0.0-canary.406.5575.13
6 years ago
7.0.0-canary.424.5553.14
6 years ago
7.0.0-canary.424.5547.14
6 years ago
6.6.0-canary.406.5536.12
6 years ago
6.6.0-canary.422.5524.15
6 years ago
6.5.0
6 years ago