akijoey / semantic-release-maven

👨‍🏫 Semantic release plugin to publish a maven package.
MIT License
6 stars 3 forks source link

How to set the configuration options? #16

Closed kayman-mk closed 2 years ago

kayman-mk commented 2 years ago

Hi,

what a nice plugin, good job!

But I have no idea how to set the configuration options. Could you please add an example to the README.md? I'd like to set the profiles option, but how? I am using the YAML format.

branches:
  - main
  - release-dry-run

tagFormat: "${version}"

preset: 'conventionalcommits'

plugins:
  - "@semantic-release/commit-analyzer"
  - "@semantic-release/release-notes-generator"
  - "@semantic-release/changelog"
  - "@semantic-release/git"
  - "@semantic-release/github"
  - "@semantic-release/exec"
  - "semantic-release-maven"
kayman-mk commented 2 years ago

Solved:

publish:
  - path: "semantic-release-maven"
    profiles:
      - release