Add a semver-fetching macro.