Skip to content

Commit

Permalink
Fix version determination in test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Aug 19, 2020
1 parent 3cadd5e commit eecb017
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/util/index.js
Expand Up @@ -43,9 +43,7 @@ module.exports.runTasks = async plugin => {
const version =
plugin.getIncrementedVersionCI({ latestVersion, increment }) ||
(await plugin.getIncrementedVersion({ latestVersion, increment })) ||
increment !== false
? semver.inc(latestVersion, increment || 'patch')
: latestVersion;
(increment !== false ? semver.inc(latestVersion, increment || 'patch') : latestVersion);
plugin.config.setContext(parseVersion(version));

await plugin.beforeBump();
Expand Down

0 comments on commit eecb017

Please sign in to comment.