Skip to content

Commit

Permalink
Don't put metadata in package versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Feb 6, 2024
1 parent 8396031 commit dceb4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/SkiaSharp.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@
<PropertyGroup>
<Version>$(_VersionNuGetMatch)</Version>
<Version Condition="'$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version>
<Version Condition="'$(AssemblyVersionGitBranch)' != '' and !$(AssemblyVersionGitBranch.StartsWith('release/'))">$(Version)+$(AssemblyVersionGitBranch.Replace('/', '-').Replace('\', '-'))</Version>
<Version Condition="'$(AssemblyVersionGitSha)' != ''">$(Version).$(AssemblyVersionGitSha)</Version>
<InformationalVersion>$(Version)</InformationalVersion>
<InformationalVersion Condition="'$(AssemblyVersionGitBranch)' != ''">$(InformationalVersion)+$(AssemblyVersionGitBranch.Replace('/', '-').Replace('\', '-'))</InformationalVersion>
<InformationalVersion Condition="'$(AssemblyVersionGitSha)' != ''">$(InformationalVersion).$(AssemblyVersionGitSha)</InformationalVersion>
<AssemblyVersion>$(_VersionAssemblyMatch)</AssemblyVersion>
<FileVersion>$(_VersionFileMatch)</FileVersion>
</PropertyGroup>
Expand Down

0 comments on commit dceb4ae

Please sign in to comment.