Skip to content

Commit

Permalink
Fix version detection for Vaadin 8.1 (#746)
Browse files Browse the repository at this point in the history
Detect version correctly also for the manifest bundle names updated in 8.1.

Fixes #745
  • Loading branch information
hesara authored Aug 25, 2017
1 parent 8b6ccc9 commit bc9f39c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private static String getManifestVersion(JarFile jarFile,
Attributes attr = manifest.getMainAttributes();
String bundleName = attr.getValue("Bundle-Name");
if (bundleName != null
&& (bundleName.equals("Vaadin") || bundleName
&& (bundleName.startsWith("Vaadin") || bundleName
.startsWith("vaadin-"))) {
return attr.getValue(versionAttribute);
}
Expand Down

0 comments on commit bc9f39c

Please sign in to comment.