Skip to content

Commit

Permalink
Add support for .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwatson484 committed Aug 21, 2024
1 parent 4a9ccb0 commit adc5c64
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Build and package containerised applications.
- must be static HTML, Helm, Node.js or one of the following .NET versions
- .NET Core 3.1
- .NET 6.0
- .NET 8.0
- must use semantic versioning in `package.json` for Node.js `.csproj` for .NET or `VERSION` for HTML.
- must have Dockerfile
- if tests are to be run, `docker-compose.test.yaml` must exist to run tests with exit on complete
Expand Down Expand Up @@ -185,6 +186,7 @@ Build and package containerised applications for Azure Container Apps.
- must be static HTML, Helm, Node.js or one of the following .NET versions
- .NET Core 3.1
- .NET 6.0
- .NET 8.0
- must use semantic versioning in `package.json` for Node.js `.csproj` for .NET or `VERSION` for HTML.
- must have Dockerfile
- if tests are to be run, `docker-compose.test.yaml` must exist to run tests with exit on complete
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.3
1.8.0
3 changes: 2 additions & 1 deletion build-nuget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ jobs:
switch ("$(targetFramework)")
{
"netcoreapp3.1" { $tag = "1.2.3-dotnet3.1"; Break }
"net6.0" { $tag = "1.3.1-dotnet6.0"; Break }
"net6.0" { $tag = "1.5.0-dotnet6.0"; Break }
"net8.0" { $tag = "1.6.0-dotnet8.0"; Break }
}
Write-Host "##vso[task.setvariable variable=sonarImageVersion;]$tag"
Expand Down
3 changes: 2 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ jobs:
switch ("$(targetFramework)")
{
"netcoreapp3.1" { $tag = "1.2.3-dotnet3.1"; Break }
"net6.0" { $tag = "1.4.0-dotnet6.0"; Break }
"net6.0" { $tag = "1.5.0-dotnet6.0"; Break }
"net8.0" { $tag = "1.6.0-dotnet8.0"; Break }
}
Write-Host "##vso[task.setvariable variable=sonarImageVersion;]$tag"
condition: and(succeeded(), eq('${{ parameters.framework }}', 'net'))
Expand Down

0 comments on commit adc5c64

Please sign in to comment.