get latest release or snapshot if specified in target.txt file