Setting appropriate version to publish.