Skip to content

Commit

Permalink
Bump version and add commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelta0 committed Jun 23, 2022
1 parent 34de0a8 commit cc2afc7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion BinData/BinData.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,19 @@
<PackageProjectUrl>https://github.com/ndelta0/BinData</PackageProjectUrl>
<PackageLicenseUrl>https://choosealicense.com/licenses/mit/</PackageLicenseUrl>
<RepositoryUrl>https://github.com/ndelta0/BinData</RepositoryUrl>
<AssemblyVersion>2.1.0.*</AssemblyVersion>
<AssemblyVersion>2.2.0.*</AssemblyVersion>
<Deterministic>false</Deterministic>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<SourceControlInformationFeatureSupported>true</SourceControlInformationFeatureSupported>
<PackageVersion>2.2.0</PackageVersion>
<ProductVersion>2.2.0</ProductVersion>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<Target Name="SetSourceRevisionId" BeforeTargets="InitializeSourceControlInformation">
<Exec Command="git describe --long --always --dirty --exclude=* --abbrev=8" ConsoleToMSBuild="true" IgnoreExitCode="false">
<Output TaskParameter="ConsoleOutput" PropertyName="SourceRevisionId" />
</Exec>
</Target>

</Project>

0 comments on commit cc2afc7

Please sign in to comment.