Memoize version and bump version