Skip to content

Commit

Permalink
added net8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasduft committed Nov 22, 2023
1 parent 47b3a37 commit 5a0d02d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"dotnet-outdated-tool": {
"version": "4.5.1",
"version": "4.6.0",
"commands": [
"dotnet-outdated"
]
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [Choice] .NET version: 5.0, 3.1, 2.1
ARG VARIANT=7.0
ARG VARIANT=8.0
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:dev-${VARIANT}

# [Option] Install Node.js
Expand Down
7 changes: 3 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "7.0",
"VARIANT": "8.0",
// Options
"NODE_VERSION": "lts/*",
"INSTALL_AZURE_CLI": "false"
Expand All @@ -16,12 +16,11 @@
"extensions": [
"eamodio.gitlens",
"editorconfig.editorconfig",
"formulahendry.dotnet-test-explorer",
"github.vscode-pull-request-github",
"mikestead.dotenv",
"minhthai.vscode-todo-parser",
"ms-dotnettools.csharp",
"ms-vscode-remote.remote-containers",
"ryanluker.vscode-coverage-gutters",
"ms-dotnettools.csdevkit",
"killalau.vscode-liquid-snippets"
]
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Test
run: ./build.sh test
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Pack
run: ./build.sh pack -rv $RELEASE_VERSION
- name: Push
Expand Down
8 changes: 4 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-releasy",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net7.0/tomware.Releasy.dll",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net8.0/tomware.Releasy.dll",
"args": [
"add-changelog",
"-i",
Expand All @@ -26,7 +26,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-releasy",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net7.0/tomware.Releasy.dll",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net8.0/tomware.Releasy.dll",
"args": [
"add-changelog",
"-i",
Expand All @@ -46,7 +46,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-releasy",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net7.0/tomware.Releasy.dll",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net8.0/tomware.Releasy.dll",
"args": [
"update-changelog",
"-v",
Expand All @@ -66,7 +66,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-releasy",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net7.0/tomware.Releasy.dll",
"program": "${workspaceFolder}/src/releasy/bin/Debug/net8.0/tomware.Releasy.dll",
"args": [
"create-releasenotes",
"-v",
Expand Down
3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"editor.tabSize": 2,
"editor.rulers": [
100
],
"dotnet.defaultSolution": "releasy.sln"
]
}
2 changes: 1 addition & 1 deletion build/targets.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType>

<ImplicitUsings>enable</ImplicitUsings>
Expand Down
9 changes: 9 additions & 0 deletions changelogs/e98b86b7b7f642c68f54e0ffb8114c5c.cle
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Id": "e98b86b7-b7f6-42c6-8f54-e0ffb8114c5c",
"IssueId": "",
"Prefix": "Added",
"Tag": "",
"Message": "Added net8.0 support",
"CreatedAt": "2023-11-22T08:16:32.0993906+00:00",
"CreatedBy": "vscode"
}
4 changes: 2 additions & 2 deletions src/releasy/releasy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>tomware.Releasy</AssemblyName>
<RootNamespace>tomware.Releasy</RootNamespace>

Expand Down Expand Up @@ -30,7 +30,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Fluid.Core" Version="2.4.0" />
<PackageReference Include="Fluid.Core" Version="2.5.0" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.0" />
</ItemGroup>

Expand Down

0 comments on commit 5a0d02d

Please sign in to comment.