Skip to content

Commit

Permalink
Merge pull request #16 from ejball/roll-forward
Browse files Browse the repository at this point in the history
  • Loading branch information
ejball authored Nov 15, 2024
2 parents e165fff + b0c4d78 commit 2eac98e
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0 # required to publish docs
- name: Install .NET
uses: actions/setup-dotnet@v4
- name: Restore
run: .\build.ps1 restore
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project>

<PropertyGroup>
<VersionPrefix>3.10.1</VersionPrefix>
<PackageValidationBaselineVersion>3.10.0</PackageValidationBaselineVersion>
<VersionPrefix>3.11.0</VersionPrefix>
<PackageValidationBaselineVersion>3.10.1</PackageValidationBaselineVersion>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Facility.CodeGen.Console" Version="2.14.0" />
<PackageVersion Include="Facility.ConformanceApi" Version="2.29.0" />
<PackageVersion Include="Facility.Core" Version="2.29.0" />
<PackageVersion Include="Facility.Definition" Version="2.14.0" />
<PackageVersion Include="Facility.CodeGen.Console" Version="2.15.0" />
<PackageVersion Include="Facility.ConformanceApi" Version="2.30.0" />
<PackageVersion Include="Facility.Core" Version="2.30.0" />
<PackageVersion Include="Facility.Definition" Version="2.15.0" />
<PackageVersion Include="Microsoft.AspNet.WebApi.OwinSelfHost" Version="5.3.0" />
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
Expand Down
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes

## 3.11.0

* Drop support for end-of-life frameworks.
* Use roll forward with .NET tool.

## 3.10.1

* Disable buffering for text/event-stream.
Expand Down
2 changes: 1 addition & 1 deletion dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"facilityconformance": {
"version": "2.29.0",
"version": "2.30.0",
"commands": [
"FacilityConformance"
],
Expand Down
2 changes: 1 addition & 1 deletion src/Facility.AspNetCore/Facility.AspNetCore.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<Description>Helpers for using Facility with ASP.NET Core.</Description>
<PackageTags>Facility FSD ASP.NET Core</PackageTags>
<IsPackable>true</IsPackable>
Expand Down
2 changes: 0 additions & 2 deletions src/Facility.AspNetCore/FacilityEndpointFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if NET7_0_OR_GREATER
using System.Net;
using Facility.Core;
using Facility.Core.Http;
Expand Down Expand Up @@ -30,4 +29,3 @@ public sealed class FacilityEndpointFilter : IEndpointFilter
return result;
}
}
#endif
2 changes: 1 addition & 1 deletion src/Facility.CodeGen.AspNet/Facility.CodeGen.AspNet.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<Description>A library that generates an ASP.NET controller for a Facility Service Definition.</Description>
<PackageTags>Facility FSD ASP.NET CodeGen</PackageTags>
<IsPackable>true</IsPackable>
Expand Down
3 changes: 2 additions & 1 deletion src/fsdgenaspnet/fsdgenaspnet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<Description>A tool that generates an ASP.NET controller for a Facility Service Definition.</Description>
<PackageTags>Facility FSD ASP.NET CodeGen</PackageTags>
<IsPackable>true</IsPackable>
<PackAsTool>true</PackAsTool>
<RollForward>Major</RollForward>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tools/Build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ void CodeGen(bool verify)
"--namespace", "CoreControllerServer.Controllers", "--target", "core");

void RunCodeGen(params string?[] args) =>
RunDotNet(new[] { "run", "--no-build", "--project", $"src/{codegen}", "-f", "net6.0", "-c", configuration, "--", "--newline", "lf", verifyOption }.Concat(args));
RunDotNet(new[] { "run", "--no-build", "--project", $"src/{codegen}", "-c", configuration, "--", "--newline", "lf", verifyOption }.Concat(args));
}
});

0 comments on commit 2eac98e

Please sign in to comment.