Add release target, and output version number to dist