Skip to content

Commit

Permalink
moved versioning to Versions.Props file
Browse files Browse the repository at this point in the history
  • Loading branch information
mizrael committed Aug 4, 2023
1 parent 094bad1 commit 8e82aba
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 32 deletions.
8 changes: 8 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Versions.props" />

<PropertyGroup>
<LangVersion>$(CSharpLanguageVersion)</LangVersion>
</PropertyGroup>
</Project>
8 changes: 8 additions & 0 deletions Versions.Props
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<CSharpLanguageVersion>11</CSharpLanguageVersion>
<TargetFrameworkVersion>net7.0</TargetFrameworkVersion>
<NugetPackagesVersion>3.0.2-alpha</NugetPackagesVersion>
</PropertyGroup>
</Project>
17 changes: 8 additions & 9 deletions src/OpenSleigh.InMemory/OpenSleigh.InMemory.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PropertyGroup>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Persistence.InMemory</Product>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<PackageVersion>3.0.1-alpha</PackageVersion>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>

<PropertyGroup>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Persistence.Mongo</Product>
Expand Down Expand Up @@ -39,7 +38,9 @@
</ItemGroup>

<ItemGroup>
<None Include="README.md" />
<None Include="README.md" Pack="true" PackagePath="\">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Persistence.PostgreSQL</Product>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Persistence.SQL</Product>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Persistence.SQLServer</Product>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh.Transport.RabbitMQ</Product>
Expand Down
16 changes: 8 additions & 8 deletions src/OpenSleigh/OpenSleigh.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<PackageVersion>3.0.1-alpha</PackageVersion>
<PropertyGroup>
<PackageVersion>$(PackageVersion)</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>OpenSleigh</Product>
Expand Down

0 comments on commit 8e82aba

Please sign in to comment.