Updating go parser
@@ -39,6 +39,11 @@ class GoDepParser {
def version = ''
if (it.comment?.trim() && it.comment.startsWith('v')) {
version = it.comment.trim()
+ if(version.contains('-')){
+ //v1.6-27-23859436879234678 should be transformed to v1.6
+ version = version.substring(0, version.lastIndexOf('-'))
+ version = version.substring(0, version.lastIndexOf('-'))
+ }
} else{
version = it.rev.trim()
}
