@auto-it/first-time-contributor
Advanced tools
Changelog
v7.11.0 (Fri Oct 18 2019)
@auto-it/core
, @auto-it/chrome
, @auto-it/git-tag
, @auto-it/npm
, @auto-it/omit-commits
, @auto-it/omit-release-notes
, @auto-it/s3
, @auto-it/twitter
Changelog
v7.10.0 (Fri Oct 18 2019)
From #610
This PR also introduces the changelog.addToBody
hook. This can be used to add whatever extra content you want to a changelog.
The following adds a random GIF from giphy to each new changelog.
auto.hooks.onCreateChangelog.tapPromise('Giphy', changelog =>
changelog.hooks.renderChangelogLine.tapPromise(
'Giphy',
async (notes, commits) => {
const response = await fetch(`https://api.giphy.com/v1/gifs/random?api_key=${process.env.GIPHY_KEY}`);
const json = await response.json();
const { data: gif } = json;
return [...notes, `![${gif.title}](${gif.url})\n`]
}
);
);
@auto-it/core
, @auto-it/crates
, @auto-it/first-time-contributor
@auto-it/first-time-contributor