Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Duplicate validation errors #304

Closed
2 of 4 tasks
aalmiray opened this issue Jul 23, 2021 · 0 comments
Closed
2 of 4 tasks

[core] Duplicate validation errors #304

aalmiray opened this issue Jul 23, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@aalmiray
Copy link
Member

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem (link to git repository is ideal)
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. Configure a project with JReleaser
  2. Do not configure a project version.
  3. Do not set JRELEASER_PROJECT_VERSION.
  4. Invoke the config command.

Expected Behaviour

A single error should appear

[ERROR] == JReleaser ==
[ERROR] project.version must not be blank. Configure a value using the CLI yaml DSL, or define a JRELEASER_PROJECT_VERSION environment variable, or define a key/value pair in /Users/duke/.jreleaser/config.toml
JReleaser has not been properly configured.

Actual Behaviour

Duplicate errors appear

[ERROR] == JReleaser ==
[ERROR] project.version must not be blank. Configure a value using the CLI yaml DSL, or define a JRELEASER_PROJECT_VERSION environment variable, or define a key/value pair in /Users/duke/.jreleaser/config.toml
[ERROR] project.version must not be blank. Configure a value using the CLI yaml DSL, or define a JRELEASER_PROJECT_VERSION environment variable, or define a key/value pair in /Users/duke/.jreleaser/config.toml
JReleaser has not been properly configured.

Environment Information

  • Operating System: N/A
  • JReleaser Version: 0.5.0
  • JDK Version: N/A
@aalmiray aalmiray added the bug Something isn't working label Jul 23, 2021
@aalmiray aalmiray added this to the v0.6.0 milestone Jul 23, 2021
@aalmiray aalmiray self-assigned this Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant