blackberry-webworks/BB10-Webworks-Packager — comment on commit 0ddf7158bb973126f6c3ff034e21a620ea3005de
File:  line 0
By jkeshavarzi:

This doesn't seem right to me. What happens if the user puts in a 3 digit version (1.2.3). This code will chop off the last segment and make it 1.2? Are you sure you have the right logic here? This seems like something we would do if the user puts in a 4 digit version, since the version attribute in the blackberry-tablet.xml file needs to be no more than 3 digits.