fix detecting version in artefact filename