Skip to content

Commit

Permalink
NuGet versions need to be < 64 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Jan 11, 2024
1 parent d07b3cd commit ed92932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/SkiaSharp.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<PropertyGroup>
<Version>$(_VersionNuGetMatch)</Version>
<Version Condition="'$(VersionSuffix)' != ''">$(Version)-$(VersionSuffix)</Version>
<Version Condition="'$(AssemblyVersionGitBranch)' != ''">$(Version)+$(AssemblyVersionGitBranch.Replace('/', '-').Replace('\', '-'))</Version>
<Version Condition="'$(AssemblyVersionGitBranch)' != '' and !$(AssemblyVersionGitBranch.StartsWith('release/'))">$(Version)+$(AssemblyVersionGitBranch.Replace('/', '-').Replace('\', '-'))</Version>
<Version Condition="'$(AssemblyVersionGitSha)' != ''">$(Version).$(AssemblyVersionGitSha)</Version>
<InformationalVersion>$(Version)</InformationalVersion>
<AssemblyVersion>$(_VersionAssemblyMatch)</AssemblyVersion>
Expand Down

0 comments on commit ed92932

Please sign in to comment.