init buildVersion inline and rename version to releaseVersion