Skip to content

Commit

Permalink
Start package version suffixes at 10000 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSandersonMS authored Mar 8, 2024
1 parent 020fd9e commit c70587c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix Condition="'$(BuildNumber)' == ''">dev</VersionSuffix>
<VersionSuffix Condition="'$(BuildNumber)' != ''">preview$([System.String]::Format('{0:00000}', $([MSBuild]::Add($(BuildNumber), 0))))</VersionSuffix>
<VersionSuffix Condition="'$(BuildNumber)' != ''">preview$([System.String]::Format('{0:00000}', $([MSBuild]::Add($(BuildNumber), 10000))))</VersionSuffix>
<PackageVersion>$(VersionPrefix)-$(VersionSuffix)</PackageVersion>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\</PackageOutputPath>
<IsPackable>false</IsPackable>
Expand Down

0 comments on commit c70587c

Please sign in to comment.