Skip to content

Commit

Permalink
Do not print diff for features
Browse files Browse the repository at this point in the history
Features usually change in each version as they use strict version
ranges.

(cherry picked from commit 3c2b2a2)
  • Loading branch information
laeubi authored and eclipse-tycho-bot committed Feb 4, 2025
1 parent da2ed1e commit a416275
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ private static void describeUpdate(VersionUpdate versionUpdate, MarkdownBuilder
builder.addListItem(String.format("Unit %s was updated from %s to %s", versionUpdate.id(),
versionUpdate.getPreviousVersion(), update.getVersion()));
IInstallableUnit current = versionUpdate.current();
if (current != null) {
if (current != null && !current.getId().endsWith(".feature.group")) {
Collection<IRequirement> currentRequirements = current.getRequirements();
for (IRequirement requirement : update.getRequirements()) {
if (!currentRequirements.contains(requirement) && requirement.getMin() > 0) {
Expand Down

0 comments on commit a416275

Please sign in to comment.