Skip to content

Commit

Permalink
Use version autoincrement
Browse files Browse the repository at this point in the history
  • Loading branch information
a-gubskiy committed Jul 24, 2019
1 parent c6a72ec commit 2cf8564
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/X.Spectator/X.Spectator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<Build>$([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2000,1,1))).get_TotalDays())</Build>
<Revision>$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 2).ToString('F0'))</Revision>
<Version>1.0.$(Build).$(Revision)</Version>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2019.1.1" />
<PackageReference Include="System.Collections.Immutable" Version="1.5.0" />
Expand Down

0 comments on commit 2cf8564

Please sign in to comment.