Skip to content

Commit

Permalink
Use MinVer to infer package versions (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Dec 20, 2018
1 parent 15eed0b commit b2dc75d
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project ToolsVersion="15.0">
<PropertyGroup>
<VersionPrefix>0.0.1</VersionPrefix>
<Authors>@jet @bartelink @eiriktsarpalis and contributors</Authors>
<Company>Jet.com</Company>
<Description>Composable high performance event sourcing componentry</Description>
Expand All @@ -22,6 +21,9 @@

<!-- suppress false positive warning FS2003 about invalid version of AssemblyInformationalVersionAttribute -->
<NoWarn>FS2003</NoWarn>

<!-- Fit in with sibling project tagging scheme (MinVer trims this off the tag when inferring)-->
<MinVerTagPrefix>v</MinVerTagPrefix>
</PropertyGroup>

<!-- Workaround for https://github.com/xunit/xunit/issues/1357 -->
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Equinox provides a unified programming model for event sourced processing against diverse stream-based stores.

[![Build Status](https://dev.azure.com/jet-opensource/opensource/_apis/build/status/jet.equinox?branchName=master)](https://dev.azure.com/jet-opensource/opensource/_build/latest?definitionId=4?branchName=master)

Current supported backends are:

- [EventStore](https://eventstore.org/) - this codebase itself has been in production since 2017 (commit history reflects usage), with elements dating back to 2016.
Expand Down
2 changes: 2 additions & 0 deletions cli/Equinox.Cli/Equinox.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MinVer" Version="1.0.0-beta.2+build.172" />

<PackageReference Include="Argu" Version="5.1.0" />
<!--Handle TypeShape-restriction; would otherwise use 3.1.2.5-->
<PackageReference Include="FSharp.Core" Version="4.0.0.1" Condition=" '$(TargetFramework)' == 'net461' " />
Expand Down
2 changes: 2 additions & 0 deletions src/Equinox.Codec/Equinox.Codec.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="1.0.0-beta.2+build.172" />

<PackageReference Include="FSharp.Core" Version="3.1.2.5" Condition=" '$(TargetFramework)' == 'net461' " />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netstandard2.0' " />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
Expand Down
2 changes: 2 additions & 0 deletions src/Equinox.EventStore/Equinox.EventStore.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="1.0.0-beta.2+build.172" />

<PackageReference Include="FSharp.Core" Version="3.1.2.5" Condition=" '$(TargetFramework)' != 'netstandard2.0' " />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netstandard2.0' " />
<PackageReference Include="EventStore.ClientAPI.NetCore" Version="4.1.1-rc" Condition=" '$(TargetFramework)' == 'netstandard2.0'" />
Expand Down
2 changes: 2 additions & 0 deletions src/Equinox.MemoryStore/Equinox.MemoryStore.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="1.0.0-beta.2+build.172" />

<PackageReference Include="FSharp.Core" Version="3.1.2.5" Condition=" '$(TargetFramework)' == 'net461' " />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netstandard2.0' " />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Equinox/Equinox.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="1.0.0-beta.2+build.172" />

<PackageReference Include="FSharp.Core" Version="3.1.2.5" Condition=" '$(TargetFramework)' == 'net461' " />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition=" '$(TargetFramework)' == 'netstandard2.0' " />
<PackageReference Include="Serilog" Version="2.7.1" />
Expand Down

0 comments on commit b2dc75d

Please sign in to comment.