fixed type: just use basename to get the release version