Skip to content

Commit

Permalink
Ensure test runner passes latest version to getChangelog (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue authored and webpro committed Apr 27, 2020
1 parent 3606e4b commit cf62cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util/index.js
Expand Up @@ -36,7 +36,7 @@ module.exports.runTasks = async plugin => {

const name = (await plugin.getName()) || '__test__';
const latestVersion = (await plugin.getLatestVersion()) || '1.0.0';
const changelog = (await plugin.getChangelog()) || null;
const changelog = (await plugin.getChangelog(latestVersion)) || null;
const increment = plugin.getContext('increment') || plugin.config.getContext('increment');
plugin.config.setContext({ name, latestVersion, changelog });

Expand Down

0 comments on commit cf62cca

Please sign in to comment.