From 4449d588f15cc23bb689a8d132b598b459639c76 Mon Sep 17 00:00:00 2001 From: Simon Seyock Date: Thu, 15 Dec 2022 14:41:30 +0100 Subject: [PATCH] fix: use `mavenSettingsPath` as option name --- README.md | 2 +- src/publish.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a56111..44d0434 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/src/publish.js b/src/publish.js index b61acb8..178e29b 100644 --- a/src/publish.js +++ b/src/publish.js @@ -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); };