Yak spec is appending unwanted build data to versions in manifest

Hi, We have been using yak spec for over a year to pre-populate the manifest.yml file as part of an automated build process that runs in a ci workflow. Today we noticed that, Yak 0.12.14 (0.12.7901.20097) is generating version numbers, of the form <version>+<commit hash>, e.g.:

Is this expected behavior or bug?

Thanks.

2 Likes

@dale Is this something you can help with?

@will - can you assist?

.NET SDK version 8+ automatically enables this behavior, so you have to explicitly disable it with IncludeSourceRevisionInInformationalVersion, e.g.:

<Project>
  <PropertyGroup>    
    <IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>  
  </PropertyGroup>
</Project>