Release Notes
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, `\n`]
}
);
);
🚀 Enhancement
@auto-it/core
,@auto-it/crates
,@auto-it/first-time-contributor
- New Plugin: "first-time-contributor" #610 (@hipstersmoothie)
⚠️ Pushed to master
@auto-it/first-time-contributor
- fix build (@hipstersmoothie)
Authors: 1
- Andrew Lisowski (@hipstersmoothie)