Skip to content

Commit

Permalink
fix(core): Jbang catalog publication enabled by default. Fixes jrelea…
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Dec 4, 2022
1 parent d2523dd commit 956f468
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.jreleaser.model.Distribution;
import org.jreleaser.model.Stereotype;
import org.jreleaser.model.internal.common.Artifact;
import org.jreleaser.model.internal.project.Project;

import java.util.LinkedHashMap;
import java.util.List;
Expand Down Expand Up @@ -231,5 +232,14 @@ public JbangRepository() {
public String getResolvedName() {
return tapName;
}

@Override
public boolean resolveEnabled(Project project) {
if (null == active) {
active = Active.ALWAYS;
}
enabled = active.check(project);
return enabled;
}
}
}

0 comments on commit 956f468

Please sign in to comment.