Skip to content

Commit

Permalink
fix: use mavenSettingsPath as option name
Browse files Browse the repository at this point in the history
  • Loading branch information
simonseyock committed Dec 15, 2022
1 parent 73eedf1 commit 4449d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ This plugin only runs two maven commands and is heavily inspired by https://gith

It does not do any checks, but only trie to increase the version number via mvn and then deploy to the configured repository.

It needs a maven settings file which is by default `.m2/settings.xml` or can be configured via the option `settingsFile`.
It needs a maven settings file which is by default `.m2/settings.xml` or can be configured via the option `mavenSettingsPath`.
2 changes: 1 addition & 1 deletion src/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = async function publish (pluginConfig, context) {
const { logger, nextRelease, options } = context;
logger.log('publish mvn release');

const settingsFile = options.settingsFile || '.m2/settings.xml';
const settingsFile = options.mavenSettingsPath || '.m2/settings.xml';

await deploy(logger, nextRelease, settingsFile);
};

0 comments on commit 4449d58

Please sign in to comment.