Skip to content

Commit

Permalink
Don't put metadata in package versions (#2743) (#2744)
Browse files Browse the repository at this point in the history
(cherry picked from commit 39d0829)

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
  • Loading branch information
github-actions[bot] and mattleibow authored Feb 6, 2024
1 parent 9198bd8 commit db4313e
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 db4313e

Please sign in to comment.