changed uploading of artifacts to check whether a build number is already in version