In
|
tarball_filename_match = match(r"^(?<name>[\w_]+)\.v(?<version>\d+\.\d+\.\d+)\.(?<platform_triplet>([^-]+-?)+).tar", tarball_filename) |
, the reg-exp doesn't recognise artifacts with a build number, e.g.
MyLibrary.v1.0.0+2.x86_64-linux-gnu-cxx11.tar.gz (the missing part is
+2)
Hackaround:
tarball_filename_match = match(r"^(?<name>[\w_]+)\.v(?<version>\d+\.\d+\.\d+)(\+\d+)?\.(?<platform_triplet>([^-]+-?)+).tar", tarball_filename)