Cake Build Add #addin Cake.GitVersioning to the top of your Cake Build script. See here for usage. See here for the VersionOracle usage. Example Task("GetVersion") .Does(() => { Information(GitVersioningGetVersion().SemVer2) });