Skip to content

Commit

Permalink
refactor(core): Refine copyright validation if assemblies are active.…
Browse files Browse the repository at this point in the history
… Relates to #918
  • Loading branch information
aalmiray committed Aug 29, 2022
1 parent 6ae8ea5 commit d93c286
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static void postValidateProject(JReleaserContext context, JReleaserContex
project.getLinks().setDocumentation(project.getLinks().getHomepage());
}

if (mode.validateAssembly() && context.getModel().getAssemble().isEnabled()) {
if (context.getModel().getAssemble().isEnabled()) {
if (isBlank(project.getDescription())) {
errors.configuration(RB.$("validation_must_not_be_blank", "project.description"));
}
Expand Down

0 comments on commit d93c286

Please sign in to comment.